← Back to team overview

openerp-india team mailing list archive

[Bug 1217355] Re: [trunk]In company news not able to Send a message to the group

 

Hello,

I have checked this issue with latest trunk as well with 7.0 and its
working fine & I have attach a video.

 -  trunk (revision no)
     -  server (5014)
     -  addons (9017)
     -  web (3903)

Thanks,
Jaydep Barot (jar)

** Attachment added: "news_bug.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/1217355/+attachment/3930124/+files/news_bug.ogv

** Changed in: openobject-addons
       Status: Confirmed => Fix Released

-- 
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):
  Fix Released

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


References