please see my commits on commit 499122.

If the content manager is also used for website content management it is 
confusing where the files all come from when you have loads of emails coming 
in with attachements.

so please revert this change too.....

On Wednesday 24 January 2007 02:25, [EMAIL PROTECTED] wrote:
> Author: sichen
> Date: Tue Jan 23 11:25:58 2007
> New Revision: 499102
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=499102
> Log:
> Fixing the content name of attachments to emails so that they show up just
> as the filename, which appears to be the standard for all email systems
>
> Modified:
>    
> ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailWorker.ja
>va
>
> Modified:
> ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailWorker.ja
>va URL:
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz
>/content/email/EmailWorker.java?view=diff&rev=499102&r1=499101&r2=499102
> ===========================================================================
>=== ---
> ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailWorker.ja
>va (original) +++
> ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailWorker.ja
>va Tue Jan 23 11:25:58 2007 @@ -94,7 +94,7 @@
>                               if (attFileName != null && attFileName.length() 
> > 17) {
>                                       attFileName = 
> attFileName.substring(0,17);
>                               }
> -                             commEventMap.put("contentName", subject + "-" + 
> attachmentCount +
> " " + attFileName); +                                 
> commEventMap.put("contentName", attFileName);
>                               commEventMap.put("drMimeTypeId", 
> thisContentType);
>                               if (thisContentType.startsWith("text")) {
>                                       String content = 
> (String)part.getContent();

-- 
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

Reply via email to