← Back to team overview

openerp-india team mailing list archive

[Bug 1042690] Re: [trunk] error on issue created by fetchmail

 

[Expired for OpenERP Addons because there has been no activity for 60
days.]

** Changed in: openobject-addons
       Status: Incomplete => Expired

-- 
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/1042690

Title:
  [trunk] error on issue created by fetchmail

Status in OpenERP Addons (modules):
  Expired

Bug description:
  addons trunk revno 7310

  steps:

   - install fetchmail and project_issue
   - configure an incoming mail server as IMAP
   - set the 'Create a New Record' field to 'Project Issue'
   - fetch a new email

  the issue is created but when you try to open it you get

  2012-08-28 10:37:23,641 11582 ERROR None openerp.osv.osv: Uncaught exception
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/addons/mail/mail_thread.py", line 626, in message_read
      self.message_check_and_set_read(cr, uid, ids, context=context)
    File "/home/elbati/workspace/openerp/trunk/addons/mail/mail_thread.py", line 1159, in message_check_and_set_read
      if not obj.message_state and self._columns.get('user_id') and obj.user_id and obj.user_id.id == uid:
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/orm.py", line 478, in __getattr__
      raise AttributeError(e)
  AttributeError: 'Field message_state not found in browse_record(project.issue, 2)'
  2012-08-28 10:37:23,642 11582 ERROR None openerp.netsvc: Field message_state not found in browse_record(project.issue, 2)
  Traceback (most recent call last):
    File "/home/elbati/workspace/openerp/trunk/server/openerp/netsvc.py", line 362, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/service/web_services.py", line 586, in dispatch
      res = fn(db, uid, *params)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/elbati/workspace/openerp/trunk/addons/mail/mail_thread.py", line 626, in message_read
      self.message_check_and_set_read(cr, uid, ids, context=context)
    File "/home/elbati/workspace/openerp/trunk/addons/mail/mail_thread.py", line 1159, in message_check_and_set_read
      if not obj.message_state and self._columns.get('user_id') and obj.user_id and obj.user_id.id == uid:
    File "/home/elbati/workspace/openerp/trunk/server/openerp/osv/orm.py", line 478, in __getattr__
      raise AttributeError(e)
  AttributeError: 'Field message_state not found in browse_record(project.issue, 2)'

  
  Note that ID 2 doesn't exist in project_issue table

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1042690/+subscriptions


References