c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10674
[Bug 696930] Re: [6.0 RC2] server error after deleting views and update all
** Changed in: openobject-server
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/openobject-server/+question/140104
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/696930
Title:
[6.0 RC2] server error after deleting views and update all
Status in OpenObject Server:
Invalid
Bug description:
I have deleted some views (for all bank.statement.lines) and tried to reinstall these using update all modules.
IMHO deleting views leaves the database in an inconsistent state.
[2011-01-03 19:53:18,248][chricar5_1229] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1633, in fields_view_get
xarch, xfields = self.__view_look_dom_arch(cr, user, result['arch'], view_id, context=ctx)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1302, in __view_look_dom_arch
fields_def = self.__view_look_dom(cr, user, node, view_id, context=context)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1273, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, context))
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1273, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, context))
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1273, in __view_look_dom
fields.update(self.__view_look_dom(cr, user, f, view_id, context))
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1211, in __view_look_dom
xarch, xfields = relation.__view_look_dom_arch(cr, user, f, view_id, ctx)
File "/home2/gass/OpenERP/trunk/openobject-server/bin/osv/orm.py", line 1326, in __view_look_dom_arch
model = res[0][1]
IndexError: list index out of range
[2011-01-03 19:53:18,249][chricar5_1229] DEBUG:web-services:netrpc: rpc-dispatching exception
Traceback (most recent call last):
File "/home2/gass/OpenERP/trunk/openobject-server/bin/service/netrpc_server.py", line 70, in run
result = self.dispatch(msg[0], msg[1], msg[2:])
File "/home2/gass/OpenERP/trunk/openobject-server/bin/netsvc.py", line 499, in dispatch
raise OpenERPDispatcherException(e, tb_s)
OpenERPDispatcherException
References