Issue receiving emails with attachment
-------------------------------------- Key: OFBIZ-4413 URL: https://issues.apache.org/jira/browse/OFBIZ-4413 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release 10.04, Release Branch 10.04, Release Branch 11.04 Environment: ofbiz 10.04 on ubuntu Reporter: Varun Bhansaly Fix For: Release Branch 10.04, Release Branch 11.04 Some Background : In our customization we have configured MCA to process incoming emails which is basically a custom service this service in turn calls service storeIncomingEmail, and rest of the custom code follows. Now though we are able to receive emails (which can be seen in the communications in party manager), we have noticed that system does not some process the attachments and creates the link between communication event and content. Analysis shows, MimeMessageWrapper.getAttachmentIndexes() while checking for content disposition, does a case sensitive comparison, which should rather be case insensitive. This small change fixes the issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Varun Bhansaly updated OFBIZ-4413: ---------------------------------- Attachment: OFBIZ-4413.patch > Issue receiving emails with attachment > -------------------------------------- > > Key: OFBIZ-4413 > URL: https://issues.apache.org/jira/browse/OFBIZ-4413 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 10.04, Release 10.04, Release Branch 11.04 > Environment: ofbiz 10.04 on ubuntu > Reporter: Varun Bhansaly > Fix For: Release Branch 10.04, Release Branch 11.04 > > Attachments: OFBIZ-4413.patch > > > Some Background : In our customization we have configured MCA to process incoming emails which is basically a custom service this service in turn calls service storeIncomingEmail, and rest of the custom code follows. > Now though we are able to receive emails (which can be seen in the communications in party manager), we have noticed that system does not some process the attachments and creates the link between communication event and content. > Analysis shows, MimeMessageWrapper.getAttachmentIndexes() while checking for content disposition, does a case sensitive comparison, which should rather be case insensitive. > This small change fixes the issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4413. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Assignee: Jacques Le Roux Thanks Varun, Your patch is in trunk r1172213 R11.04 r1172217 R10.04 r1172216 > Issue receiving emails with attachment > -------------------------------------- > > Key: OFBIZ-4413 > URL: https://issues.apache.org/jira/browse/OFBIZ-4413 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 10.04, Release 10.04, Release Branch 11.04 > Environment: ofbiz 10.04 on ubuntu > Reporter: Varun Bhansaly > Assignee: Jacques Le Roux > Fix For: Release Branch 10.04, Release Branch 11.04, SVN trunk > > Attachments: OFBIZ-4413.patch > > > Some Background : In our customization we have configured MCA to process incoming emails which is basically a custom service this service in turn calls service storeIncomingEmail, and rest of the custom code follows. > Now though we are able to receive emails (which can be seen in the communications in party manager), we have noticed that system does not some process the attachments and creates the link between communication event and content. > Analysis shows, MimeMessageWrapper.getAttachmentIndexes() while checking for content disposition, does a case sensitive comparison, which should rather be case insensitive. > This small change fixes the issue. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |