Comment 0 for bug 1212109

Revision history for this message
Mehul Mehta(OpenERP) (mehul.mehta-openerp) wrote : [trunk] can't able to join any group from inbox and can't able to reply message from inbox

To reproduce on runbot go to Messaging -> Go to inbox -> and click on join Group give the traceback The error message is:

Traceback (most recent call last):
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/web/http.py", line 314, in dispatch
    response["result"] = self._call_function(**self.params)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/web/http.py", line 174, in _call_function
    return self.func(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/web/http.py", line 1048, in nfunc
    return func(*args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/web/controllers/main.py", line 1091, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/web/controllers/main.py", line 1083, in _call_kw
    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/mail/mail_thread.py", line 1445, in message_subscribe_users
    return self.message_subscribe(cr, uid, ids, partner_ids, subtype_ids=subtype_ids, context=context)
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/addons/mail/mail_thread.py", line 1462, in message_subscribe
    existing_pids = set([f.id for f in record.message_follower_ids
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/osv/orm.py", line 484, in __getattr__
    return self[name]
  File "/home/odoo/runbot/static/openerp-dev-trunk-17446/server/openerp/osv/orm.py", line 473, in __getitem__
    self._data[result_line['id']].update(new_data)
AttributeError: Got KeyError(2,) while trying to get attribute message_follower_ids on a mail.group record.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The Second issue also is To reproduce on runbot go to Messaging -> Go to inbox -> try to send message to your followers it will send -> but reply on same message it will give the traceback The error message is:

(Uncaught TypeError: Object #<error> has no method 'get_childs')