openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11143
[Bug 944175] Re: fetchmail creates several mail.message records for the same email
Maybe it might help to have a unique constraint on the message_id field
in mail_message_common. Of course warnings should be logged when
messages can not be added because of this constraint..
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/944175
Title:
fetchmail creates several mail.message records for the same email
Status in OpenERP Addons (modules):
Confirmed
Bug description:
OpenERP 6.0 and 6.1
Configure an IMAP incoming mail server that fetches from support@xxxxxxxxxx
1- The first fetched mail is correctly created (from customer@xxxxxxxxxx to support@xxxxxxxxxx)
2- Answer to that email through the 'communication & history' tab (from support@xxxxxxxxxx to customer@xxxxxxxxxx)
3- The customer answers (from customer@xxxxxxxxxx to support@xxxxxxxxxx)
4- Support team answers (from support@xxxxxxxxxx to customer@xxxxxxxxxx)
5- The customer answers again (from customer@xxxxxxxxxx to support@xxxxxxxxxx)
When fetchmail fetches this fifth email, it duplicates the created mail.message
At the next customer's answer, fetchmail will create 3 mail.message for the same email, and so on.
You can notice this behaviour on https://openerp.my.openerp.com too
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/944175/+subscriptions
References