[
https://issues.apache.org/jira/browse/OFBIZ-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
BJ Freeman updated OFBIZ-2544:
------------------------------
Attachment: OFBIZ-2544_commevents.patch
This fixes the <> that james sends in the header.
it also fixes a the email address from.
It has been tested on 9.40
I added debug info for future debugging when I start the mime tests.
Please leave them in
when I am sure this is rock solid will put in another page to remove the debug
info.
NOTE:
as a possible enhancement have the email checked for both the Party contact
mech that would have the parties name in it as well as the email address. so if
there is a party name match then it will be linked to that partyID. It would
be up to the party to add their email address.
> Message: In field [headerString] less-than (<) and greater-than (>) symbols
> are not allowed.In field [messageId] less-than (<) and greater-than (>)
> symbols are not allowed. -
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-2544
> URL: https://issues.apache.org/jira/browse/OFBIZ-2544
> Project: OFBiz
> Issue Type: Bug
> Affects Versions: Release Branch 9.04, SVN trunk
> Environment: 9.04
> Reporter: BJ Freeman
> Fix For: Release Branch 9.04, SVN trunk
>
> Attachments: OFBIZ-2544_commevents.patch
>
>
> here is the full email header
> From - Thu May 28 15:00:23 2009
> From - Thu May 28 15:00:23 2009
> X-Account-Key: account40
> X-UIDL: Mail1243521939437-731
> X-Mozilla-Status: 0000
> X-Mozilla-Status2: 00000000
> X-Mozilla-Keys:
>
> Return-Path: <[email protected]>
> Delivered-To: [email protected]
> Message-ID: <28029913.16441243521939425.javamail.r...@localdomain>
> MIME-Version: 1.0
> SPF-test: passed
> Received: from 2.sub-70-193-55.myvzw.com ([70.193.55.2])
> by the Bomb MailServer (JAMES SMTP Server 2.3.1) with SMTP ID 799
> for <[email protected]>;
> Thu, 28 May 2009 07:45:39 -0700 (PDT)
> Disposition-Notification-To: BJ Freeman <[email protected]>
> Date: Thu, 28 May 2009 07:45:36 -0700
> From: BJ Freeman <[email protected]>
> 2009-05-28 14:16:11,918 (Timer-0) [ ServiceDispatcher.java:584:INFO ] Sync
> service [JavaMailDispatcher/partyCommunicationEventPermissionCheck] finished
> in [88] milliseconds
> 2009-05-28 14:16:11,919 (Timer-0) [ ServiceDispatcher.java:374:ERROR] ----
> exception report ----------------------------------------------------------
> Incoming context (in runSync : createCommunicationEvent) does not match
> expected requirements Exception: org.ofbiz.service.ServiceValidationException
> Message: In field [headerString] less-than (<) and greater-than (>) symbols
> are not allowed.In field [messageId] less-than (<) and greater-than (>)
> symbols are not allowed. ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.service.ServiceValidationException: In field [headerString]
> less-than (<) and greater-than (>) symbols are not allowed.In field
> [messageId] less-than (<) and greater-than (>) symbols are not allowed.
> org.ofbiz.service.ModelService.validate(ModelService.java:568)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:372)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:219)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
> org.ofbiz.party.communication.CommunicationEventServices.storeIncomingEmail(CommunicationEventServices.java:694)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:616)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96)
>
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:219)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
> org.ofbiz.service.mail.ServiceMcaAction.runAction(ServiceMcaAction.java:61)
> org.ofbiz.service.mail.ServiceMcaRule.eval(ServiceMcaRule.java:80)
> org.ofbiz.service.mail.ServiceMcaUtil.evalRules(ServiceMcaUtil.java:106)
> org.ofbiz.service.mail.JavaMailContainer$PollerTask.processMessage(JavaMailContainer.java:329)
>
> org.ofbiz.service.mail.JavaMailContainer$PollerTask.checkMessages(JavaMailContainer.java:309)
>
> org.ofbiz.service.mail.JavaMailContainer$PollerTask.run(JavaMailContainer.java:254)
> java.util.TimerThread.mainLoop(Timer.java:534)
> java.util.TimerThread.run(Timer.java:484)
> --------------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.