AttachmentSerializer content id incorrect
-----------------------------------------

                 Key: CXF-2203
                 URL: https://issues.apache.org/jira/browse/CXF-2203
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.1
            Reporter: Chris Nelson


In the writeHeaders method of AttachmentSerializer the attachment id is being 
incorrectly set. When the attachment id is substring'd it is removing the last 
2 characters when it should only be removing the last character. This generates 
an attachment id that does not deserialize properly.

I have attached a patch that fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to