c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05789
[Bug 681064] Re: Regression : search module by name broken
Hello,
Fixed in trunk.
Please update your code.
Thanks.
--
Regression : search module by name broken
https://bugs.launchpad.net/bugs/681064
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Web Client: Fix Released
Bug description:
OpenERP 6.0-dev revision 3943
"Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.11) Gecko/20101013 Ubuntu/9.04 (jaunty) Firefox/3.6.11"
No answer when searching module by name, the client-web gives the following traceback:
[24/Nov/2010:18:39:09] HTTP Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/mpattaro/openerp/openerp-web-6.0/openobject/tools/_expose.py", line 197, in func_wrapper
res = func(*args, **kw)
File "/home/mpattaro/openerp/openerp-web-6.0/openobject/controllers/_root.py", line 78, in default
return request.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/home/mpattaro/openerp/openerp-web-6.0/addons/openerp/controllers/utils.py", line 124, in wrapper
return fn(*args, **kw)
File "/home/mpattaro/openerp/openerp-web-6.0/openobject/tools/_expose.py", line 197, in func_wrapper
res = func(*args, **kw)
File "/home/mpattaro/openerp/openerp-web-6.0/addons/openerp/controllers/search.py", line 302, in eval_domain_filter
domain.append((field, operator, int(value)))
UnboundLocalError: local variable 'operator' referenced before assignment
And no search is performed....
even defining "operator = 'ilike'" as it was in rc1, I think 'value' cast to int is a mistake.
regards
References