openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14278
[Bug 1033232] [NEW] [Trunk] Incoming mail reply fails in message_append
Public bug reported:
The processing of mail replies to existing mail thread fails in
message_update:
2012-08-05 11:54:48,847 6859 ERROR None openerp.addons.fetchmail.fetchmail: Failed to fetch mail from imap server xxx@xxxxxxxxx
Traceback (most recent call last):
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/fetchmail/fetchmail.py", line 195, in fetch_mail
context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 644, in message_process
model_pool.message_update(cr, uid, [res_id], msg, {}, context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 716, in message_update
return self.message_append_dict(cr, uid, ids, msg_dict, context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 404, in message_append_dict
context = context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 323, in message_append
partner_id = ('partner_id' in thread._columns.keys()) and (thread.partner_id and thread.partner_id.id or False) or False
AttributeError: 'str' object has no attribute '_columns'
Looks like thread (and treads?) is not the expected type?
This setup is working on 6.1, and I can't see/find any change to the low-level mail handling that should cause this error - although OpenChatter has added a lot of nice stuff
Tested with replies to event mails and helpdesk mails on nightly trunk source download from 2012-08-03 (http://nightly.openerp.com/trunk/nightly/src/openerp-6.2dev-20120803-230102.tar.gz) running on python 2.7.2 on Ubuntu 11.10
To reproduce:
Setup an incomming mail server to create a new "Event Registration" on incoming mail
Set the Default Reply-To mail addresse on all "Types of Event" to the above mail server
Create an Event Registration
Send an email to a partner's email address (A test email account)
Reply from the test email account
On next mail fetch the processing fails
The same is observed with "Helpdesk" - But note, the initial creation af
Helpdesk issue from incoming mails works - It is only the incoming reply
to mails from the Helpdesk thread that fails.
I know Trunk is "Work in Progress", and not necessarily stable, but
this looks like some kind of regression error
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1033232
Title:
[Trunk] Incoming mail reply fails in message_append
Status in OpenERP Addons (modules):
New
Bug description:
The processing of mail replies to existing mail thread fails in
message_update:
2012-08-05 11:54:48,847 6859 ERROR None openerp.addons.fetchmail.fetchmail: Failed to fetch mail from imap server xxx@xxxxxxxxx
Traceback (most recent call last):
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/fetchmail/fetchmail.py", line 195, in fetch_mail
context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 644, in message_process
model_pool.message_update(cr, uid, [res_id], msg, {}, context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 716, in message_update
return self.message_append_dict(cr, uid, ids, msg_dict, context=context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 404, in message_append_dict
context = context)
File "/home/openerp/oe7dev/openerp-6.2dev/openerp/addons/mail/mail_thread.py", line 323, in message_append
partner_id = ('partner_id' in thread._columns.keys()) and (thread.partner_id and thread.partner_id.id or False) or False
AttributeError: 'str' object has no attribute '_columns'
Looks like thread (and treads?) is not the expected type?
This setup is working on 6.1, and I can't see/find any change to the low-level mail handling that should cause this error - although OpenChatter has added a lot of nice stuff
Tested with replies to event mails and helpdesk mails on nightly trunk source download from 2012-08-03 (http://nightly.openerp.com/trunk/nightly/src/openerp-6.2dev-20120803-230102.tar.gz) running on python 2.7.2 on Ubuntu 11.10
To reproduce:
Setup an incomming mail server to create a new "Event Registration" on incoming mail
Set the Default Reply-To mail addresse on all "Types of Event" to the above mail server
Create an Event Registration
Send an email to a partner's email address (A test email account)
Reply from the test email account
On next mail fetch the processing fails
The same is observed with "Helpdesk" - But note, the initial creation
af Helpdesk issue from incoming mails works - It is only the incoming
reply to mails from the Helpdesk thread that fails.
I know Trunk is "Work in Progress", and not necessarily stable, but
this looks like some kind of regression error
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1033232/+subscriptions
Follow ups
References