[jira] Created: (OFBIZ-56) incoming email attachments buggy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424200 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

revision 426495 from this morning.
I used eclipse and team->create patch.
the only thing I did after the patch was created, was replace the tabs with 4 spaces and remove the path info.
does it need to be UNiX format?

> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424201 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

oh I see, I use /* */ to comment out the orginal code instead of   //
sub eclipse did not pick it up the change to remove the code.

> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424202 ]
           
Si Chen commented on OFBIZ-56:
------------------------------

Does this actually fix the bug that I originally opened the issue for--namely that two different images attached to an email end up being the same image twice?  Or is it not related to that?

> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424205 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

that was not my focus, though it might.
I am doing a bunch of mime stuff.
will find the fix for yours and submit it.
sorry to put you thru all this.


> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424210 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

about your orginal problem, I believe it is the part of the same problem of not having more than one window for the content (Mime parts)
Like in emails each attachment has a seperate file, in ofbiz each content would have a different link for each or a text box for each showing the content.

while doing this I will see if I found the bug for your problem.


> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424300 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

it came to me last night how this all happend.
you had the problem.
I ask if I could add to this since you were working on it.
up till now I was under the impresson you were working on the orginal problem.

No problem though will put a patch up here soon.
I have to migrate it over to a working copy from my code, which is different.


> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-56?page=comments#action_12424345 ]
           
BJ Freeman commented on OFBIZ-56:
---------------------------------

put some comments realtive to this in
http://issues.apache.org/jira/browse/OFBIZ-70

> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-56) incoming email attachments buggy

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-56?page=all ]

BJ Freeman updated OFBIZ-56:
----------------------------

    Attachment: emailservices.java_2.diff

This is an update. it fixes the */ bug in the last patch.

> incoming email attachments buggy
> --------------------------------
>
>                 Key: OFBIZ-56
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-56
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: content
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: content_EmailServices_java.diff, emailservices.java_2.diff
>
>
> storeIncomingEmail has problems with attachments.  If you send two images, the same image ends up being stored twice.  Some types of content are not stored correctly (such as word docs with images embedded).  Other times the /ViewSimpleContent request has problems retrieving content correctly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
12