Announcement Announcement Module
No announcement yet.
Bug in isXopPackage function in v1.5.6 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bug in isXopPackage function in v1.5.6

    There is a bug in isXopPackage function in v1.5.6 in Jaxb2Marshaller class.

    Here is the code for it:

    public boolean isXOPPackage() {
    return mimeContainer.convertToXopPackage();

    This seems harmless until you replace Sun's Jaxb2 implementation with EclipseLink (or any other implementation that may call isXopPackage more than once).

    If the function above gets called more than once, it ends up setting / appending to the Content-Type header more than once and you end up with a header such as this, which causes the marshalling to fail:

    ****Content-Type Value=<application/xop+xml;type="application/xop+xml;type="text/xml"">

  • #2
    Please create a Jira issue for this.