cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Attachment serializer bug
Date Tue, 05 May 2009 18:31:24 GMT

Please log a bug and attach a patch.   That's definitely the best way to track 
this.

Thanks!
Dan


On Tue May 5 2009 12:21:26 pm Perch24 wrote:
> In the AttachmentSerializer writeHeaders method (CXF 2.2.1) it looks like
> the attachmentId is incorrectly substring'd. As it is today the substring
> removes the last character of the content id plus the '>'. When the message
> is deserialized it can not find the attachment since the content id is
> incorrect.
>
> I have changed the substring line to the following to fix this problem. I
> can file a bug report on this, but wanted to make sure I wasn't missing
> something.
>
> attachmentId = attachmentId.substring(1, attachmentId.length() - 1);
>
> Thanks,
> Chris

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message