openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06807
[Bug 922472] Re: [trunk 6.1] ir_values crashes if no dashboard defined on main menu with web client
Fix landed at revision 4033 rev-id:
rco@xxxxxxxxxxx-20120210082637-tn4cyvgfa4jrxpj4
kr,
** Changed in: openobject-server
Importance: Undecided => Medium
** Changed in: openobject-server
Status: New => Fix Released
** Changed in: openobject-server
Milestone: None => 6.1
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/922472
Title:
[trunk 6.1] ir_values crashes if no dashboard defined on main menu
with web client
Status in OpenERP Server:
Fix Released
Bug description:
Hi,
Web client requests a dashboard to display it when you open the first
menu entry. If no dashboard is defined (can be reproduced by removing
a standard dashboard), you get this error:
Traceback (most recent call last):
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/osv/osv.py", line 120, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/osv/osv.py", line 175, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/osv/osv.py", line 163, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/addons/base/ir/ir_values.py", line 459, in get
return self._map_legacy_model_list(models, do_get, merge_results=True)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/addons/base/ir/ir_values.py", line 416, in _map_legacy_model_list
result = map_fn(model, res_id)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/addons/base/ir/ir_values.py", line 458, in do_get
return self.get_actions(cr, uid, action_slot=key2, model=model, res_id=res_id, context=context)
File "/home/jbaudoux/OpenERP/src/server/trunk/openerp/addons/base/ir/ir_values.py", line 379, in get_actions
action_model,id = action['value'].split(',')
AttributeError: 'NoneType' object has no attribute 'split'
[2012-01-27 08:35:22,878][?] DEBUG_RPC:exception:u"'NoneType' object has no attribute 'split'"
kr,
J-E
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/922472/+subscriptions
References