Author: hansbak
Date: Sun Oct 1 20:00:39 2006
New Revision: 451859
URL:
http://svn.apache.org/viewvc?view=rev&rev=451859Log:
fixed: contactMechIdTo not properly filled in communicationEvent
Modified:
incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java
Modified: incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java?view=diff&rev=451859&r1=451858&r2=451859==============================================================================
--- incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java (original)
+++ incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java Sun Oct 1 20:00:39 2006
@@ -792,11 +792,11 @@
}
commEventMap.put("content", content);
- // store a note when the to/from emails are not associated with any parties in the system
+ // store from/to parties, but when not found make a note of the email to/from address in the workEffort Note Section.
String commNote = "";
if (partyIdFrom != null) {
commEventMap.put("partyIdFrom", partyIdFrom);
- commEventMap.put("contactMechIdTo", contactMechIdTo);
+ commEventMap.put("contactMechIdFrom", contactMechIdFrom);
} else {
commNote += "Sent from: " + ((InternetAddress)addressesFrom[0]).getAddress() + "; ";
}