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 [hidden email]) -- 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 |
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 [hidden email]) > -- 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 > > > |
In reply to this post by Divesh Dutta
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 [hidden email]) >> -- 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. |
In reply to this post by Divesh Dutta
After more testing I found that messageId is saved in CommunicationEvent
only when I send mails through Party Component. But when I send mail through Marketing component using "Contact list" feature, then messageId is not saved in CommunicationEvent entity. Thanks -- Divesh Divesh Dutta wrote: > 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 [hidden email]) >> -- 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 >> >> >> > |
Thanks for the update, Divesh.
I would like to ask you a question here: Is it desirable behavior or are you planning to submit the patch for "Contact List" where we don't see any info about messageId ? -- Ashish On Sat, May 9, 2009 at 2:00 PM, Divesh Dutta <[hidden email]>wrote: > After more testing I found that messageId is saved in CommunicationEvent > only when I send mails through Party Component. But when I send mail through > Marketing component using "Contact list" feature, then messageId is not > saved in CommunicationEvent entity. > > > Thanks > -- > Divesh > > > |
Free forum by Nabble | Edit this page |