You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Chris Nelson (JIRA)" <ji...@apache.org> on 2009/05/06 01:38:30 UTC

[jira] Created: (CXF-2203) AttachmentSerializer content id incorrect

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.


[jira] Resolved: (CXF-2203) AttachmentSerializer content id incorrect

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2203.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2
                   2.1.6
                   2.0.12

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.0.12, 2.1.6, 2.2.2
>
>         Attachments: AttachmentSerializer.java.patch
>
>
> 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.


[jira] Assigned: (CXF-2203) AttachmentSerializer content id incorrect

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-2203:
--------------------------------

    Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>         Attachments: AttachmentSerializer.java.patch
>
>
> 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.


[jira] Updated: (CXF-2203) AttachmentSerializer content id incorrect

Posted by "Chris Nelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Nelson updated CXF-2203:
------------------------------

    Attachment: AttachmentSerializer.java.patch

Patch to fix defect.

> 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
>         Attachments: AttachmentSerializer.java.patch
>
>
> 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.