Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2203

AttachmentSerializer content id incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2, 2.0.12, 2.1.6
    • Core
    • None

    Description

      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.

      Attachments

        1. AttachmentSerializer.java.patch
          0.6 kB
          Chris Nelson

        Activity

          People

            dkulp Daniel Kulp
            cnelson Chris Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: