openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24839
[Bug 1217355] [NEW] [trunk]In company news not able to Send a message to the group
Public bug reported:
On latest trunk:
Go to Messaging > My Groups > Company News > Try to send a message for
group > click send button :
Following traceback will appear :
Traceback (most recent call last):
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 314, in dispatch
response["result"] = self._call_function(**self.params)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 174, in _call_function
return self.func(*args, **kwargs)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 1053, in nfunc
return func(*args, **kwargs)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/controllers/main.py", line 1091, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/tch/workspace/rdtools/web/trunk/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/tch/workspace/rdtools/addons/trunk/mail/mail_thread.py", line 1427, in message_post
msg_id = mail_message.create(cr, uid, values, context=context)
File "/home/tch/workspace/rdtools/addons/trunk/mail/mail_message.py", line 788, in create
newid = super(mail_message, self).create(cr, uid, values, context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4515, in create
self.pool[model_name]._store_set_values(cr, user, ids, fields2, context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4664, in _store_set_values
result = self._columns[f].get(cr, self, ids, f, SUPERUSER_ID, context=context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/fields.py", line 1164, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/tch/workspace/rdtools/addons/trunk/mail/mail_message.py", line 95, in _get_record_name
result[message['id']] = self.pool[message['model']].name_get(cr, SUPERUSER_ID, [message['res_id']], context=context)[0][1]
IndexError: list index out of range
** Affects: openobject-addons
Importance: Medium
Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1)
Status: Confirmed
--
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/1217355
Title:
[trunk]In company news not able to Send a message to the group
Status in OpenERP Addons (modules):
Confirmed
Bug description:
On latest trunk:
Go to Messaging > My Groups > Company News > Try to send a message for
group > click send button :
Following traceback will appear :
Traceback (most recent call last):
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 314, in dispatch
response["result"] = self._call_function(**self.params)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 174, in _call_function
return self.func(*args, **kwargs)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 1053, in nfunc
return func(*args, **kwargs)
File "/home/tch/workspace/rdtools/web/trunk/addons/web/controllers/main.py", line 1091, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/tch/workspace/rdtools/web/trunk/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/tch/workspace/rdtools/addons/trunk/mail/mail_thread.py", line 1427, in message_post
msg_id = mail_message.create(cr, uid, values, context=context)
File "/home/tch/workspace/rdtools/addons/trunk/mail/mail_message.py", line 788, in create
newid = super(mail_message, self).create(cr, uid, values, context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4515, in create
self.pool[model_name]._store_set_values(cr, user, ids, fields2, context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/orm.py", line 4664, in _store_set_values
result = self._columns[f].get(cr, self, ids, f, SUPERUSER_ID, context=context)
File "/home/tch/workspace/rdtools/server/trunk/openerp/osv/fields.py", line 1164, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "/home/tch/workspace/rdtools/addons/trunk/mail/mail_message.py", line 95, in _get_record_name
result[message['id']] = self.pool[message['model']].name_get(cr, SUPERUSER_ID, [message['res_id']], context=context)[0][1]
IndexError: list index out of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1217355/+subscriptions
Follow ups
References