Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-31

Axiom MIME parser does not support MIME parts without content-id's

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.18
    • 1.3.0
    • API
    • None

    Description

      Axiom MIME parser does the content-id validation for the MIME parts as required by MTOM & SwA..Also the Attachments API is designed as a map (content-id, attachment) with this assumption..

      But now the mail transport is going to use the same MIME parser and they have valid messages which does not have content-id's for MIME parts. But IMHO trying to generalize all axiom/Axis2 attachment API's would be a too much of an API change at this point of the project...

      Attached is a quick patch to generate a UUID in place of the missing content-id... But with this we are going to miss the content-id validation...

      WDYT?

      Attachments

        1. axiom_mixed_content_patch.txt
          4 kB
          Nanayakkara Kuruppuge Thilina Gunarathne

        Issue Links

          Activity

            People

              veithen Andreas Veithen
              thilina Nanayakkara Kuruppuge Thilina Gunarathne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: