You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Divesh Dutta <di...@hotwaxmedia.com> on 2009/05/07 17:14:06 UTC
parentCommEventId is never saved in CommunicationEvent entity for
storeIncomingEmail service
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 abc.abc@gmail.com)
-- 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
Re: parentCommEventId is never saved in CommunicationEvent entity for
storeIncomingEmail service
Posted by Ashish Vijaywargiya <vi...@gmail.com>.
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
<di...@hotwaxmedia.com>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
>
>
>
Re: parentCommEventId is never saved in CommunicationEvent entity
for storeIncomingEmail service
Posted by Divesh Dutta <di...@hotwaxmedia.com>.
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 abc.abc@gmail.com)
>> -- 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
>>
>>
>>
>
Re: parentCommEventId is never saved in CommunicationEvent entity
for storeIncomingEmail service
Posted by Divesh Dutta <di...@hotwaxmedia.com>.
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 abc.abc@gmail.com)
> -- 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
>
>
>
Re: parentCommEventId is never saved in CommunicationEvent entity
for storeIncomingEmail service
Posted by BJ Freeman <bj...@free-man.net>.
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 abc.abc@gmail.com)
>> -- 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.