openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #15402
[Bug 1048102] Re: [7.0dev trunk @r7380] Several references to "follower_ids" need to be updated to "message_follower_ids"
I have just had a look at the recent commits and it looks like it may
have been fixed in r7385. (See the last note in the commit message).
--
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/1048102
Title:
[7.0dev trunk @r7380] Several references to "follower_ids" need to be
updated to "message_follower_ids"
Status in OpenERP Addons (modules):
Incomplete
Bug description:
Immediately following install of multi_company (which as far as I can
tell completed successfully) when any regular user (other than admin)
is logged in, the server immediately throws exception, and system is
no longer accessible/usable for that user:
Server Traceback (most recent call last):
File "C:\dev\workspace\openobject-web\addons\web\common\session.py", line 51, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "C:\dev\workspace\openobject-server\openerp\netsvc.py", line 362, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "C:\dev\workspace\openobject-server\openerp\service\web_services.py", line 587, in dispatch
res = fn(db, uid, *params)
File "C:\dev\workspace\openobject-server\openerp\osv\osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "C:\dev\workspace\openobject-server\openerp\osv\osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "C:\dev\workspace\openobject-server\openerp\osv\osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "C:\dev\workspace\openobject-server\openerp\osv\osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 3487, in read
result = self._read_flat(cr, user, select, fields, context, load)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 3595, in _read_flat
res2 = self._columns[val[0]].get(cr, self, ids, val, user, context=context, values=res)
File "C:\dev\workspace\openobject-server\openerp\osv\fields.py", line 1117, in get
result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
File "C:\dev\workspace\openobject-server\openerp\addons\base\ir\ir_ui_menu.py", line 274, in _get_needaction
res[menu.id]['needaction_counter'] = obj._needaction_count(cr, uid, dom, context=context)
File "C:\dev\workspace\openobject-server\openerp\addons\base\ir\ir_needaction.py", line 63, in _needaction_count
return self.search(cr, uid, (domain or []) +dom, context=context, count=True)
File "C:\dev\workspace\openobject-addons\project\project.py", line 82, in search
context=context, count=count)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 2277, in search
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 4671, in _search
self._apply_ir_rules(cr, user, query, 'read', context=context)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 4555, in _apply_ir_rules
apply_rule(*rule_obj.domain_get(cr, uid, self._name, mode, context=context))
File "C:\dev\workspace\openobject-server\openerp\addons\base\ir\ir_rule.py", line 155, in domain_get
query = self.pool.get(model_name)._where_calc(cr, SUPERUSER_ID, dom, active_test=False)
File "C:\dev\workspace\openobject-server\openerp\osv\orm.py", line 4519, in _where_calc
e = expression.expression(cr, user, domain, self, context)
File "C:\dev\workspace\openobject-server\openerp\osv\expression.py", line 359, in __init__
self.parse(cr, uid, distribute_not(normalize(exp)), table, context)
File "C:\dev\workspace\openobject-server\openerp\osv\expression.py", line 456, in parse
raise ValueError("Invalid field %r in domain expression %r" % (left, exp))
ValueError: Invalid field 'follower_ids' in domain expression ['&', '|', ('company_id', '=', False), ('company_id', 'child_of', [1]), '|', '|', ('privacy_visibility', 'in', [False, 'public']), ('members', 'in', [3]), ('follower_ids', 'in', [3])]
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1048102/+subscriptions
References