andy had done some work on the communication even recently. you might put this over in the dev list to have him see it since I don't think he reads the user list.
Divesh Dutta sent the following on 5/8/2009 4:54 AM: > Intersting to see that still no views on this imp issue. But we had good > discussion for "webtools" login page ;-) . Here looking more into this > code and testing , I found that messageId for outgoing mails are not > saved in CommunicationEvent entity. If some one is getting the same > behaviour please let me know. > > Thanks > -- > Divesh > > > Divesh Dutta wrote: >> Hello all, >> >> I was tracing and debugging the code in storeIncomingEmail service in >> CommunicationEventServices.java (on rev. 772658). Steps I followed: >> -- Sent an outgoing mail from system . (say from [email protected]) >> -- Then replied to this email id (incoming email) >> >> So reffering line no. 599 : >> // check for for a reply to communication event (using in-reply-to the >> parent messageID) ( line 600 to 616). What I found is this part of >> code never works because parentCommEventId is never saved in database >> in CommunicationEvent entity. Reason being: >> >> Here code is trying to get parentCommEvent on the basis of >> "inReplyTo" field from CommunicationEvent entity by comparing it with >> messageId. >> >> But what I found is "messageId" for outgoing mail is never *same *as >> "inReplyTo" for incoming mail. >> >> Please correct me if I am wrong some where . Any views on this are >> most welcome >> >> Thanks >> -- >> Divesh >> >> >> > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.
