#125 content of multipart/related emails gets lost

1.5.0 - bugs
closed-fixed
None
5
2010-06-24
2010-06-24
Anonymous
No

If a mail has a following multipart structure:

multipart/mixed (
multipart/related
( text/plain
image/jpeg
image/jpeg )
application/pdf )

The two jpeg files won't appear in the output of the DataObjectFactory because in handleMixedPart there is a line at the end with a comment:

// all remaining data objects are registered as the parent object's children
parent.put(CHILDREN_KEY, children);

This breaks if the parent already had some children before, i.e. children which used to be in the root child, and were transferred to parent inside transferInfo

Discussion

  • Antoni Mylka

    Antoni Mylka - 2010-06-24

    fixed in revision 2358

     
  • Antoni Mylka

    Antoni Mylka - 2010-06-24
    • milestone: --> 1.5.0 - bugs
    • assigned_to: nobody --> mylka
    • status: open --> open-fixed
     
  • Antoni Mylka

    Antoni Mylka - 2010-06-24
    • summary: multipart/related emails get lost --> content of multipart/related emails gets lost
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.