c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #31275
[Bug 836825] Re: exceptions.TypeError in Search with empty filters
Hello,
Thanks a lot for reporting this bug and contributing to OpenERP. Unfortunately the OpenERP Web Client project is not going to be developed further after the 6.0 series. As of 6.1 a newer and better web frontend known as the OpenERP Web project[1] will be available.
Our R&D developers normally work in Launchpad to fix bugs for the next release, but there will be no next release for the current OpenERP Web Client. As our resources are limited, all further R&D efforts from the Web team are dedicated to finish the new 6.1 OpenERP Web project[1].
This bug will be closed as "Won't Fix" to show that R&D won't be able to work on it.
Bugs affecting customers in production of course continue to be handled via the OpenERP Enterprise (OPW) maintenance service, and this is the recommended way to have them corrected directly in the 6.0 LTS stable branch.
You can find more details about all of this in the FAQ of our Bug Management Policy documentation[2].
If you are interested, you should soon be able to beta-test the new
OpenERP Web 6.1 (this will be announced on OpenERP Community channels).
Thank you for your contributions and for your understanding!
[1] https://launchpad.net/openerp-web
[2] http://bit.ly/openerp-bugs-faq (FAQ #4)
** Changed in: openobject-client-web
Status: New => Won't Fix
--
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/836825
Title:
exceptions.TypeError in Search with empty filters
Status in OpenERP Web Client:
Won't Fix
Bug description:
Steps to reproduce the issue:
---------------------------------------------------
- Login to web Client version Versión 6.0.3 (any user)
- Go toOpportunities "Search view"
- Delete Salesman and any other field that has information (i.e. deselect CURRENT, OPEN, PENDING)
The result observed
-----------------------------------------------
<type 'exceptions.TypeError'> Python 2.5.2: C:\Program Files (x86)\OpenERP 6.0\Web\openerp-web.exe
Mon Aug 29 18:17:44 2011
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
C:\Program Files (x86)\OpenERP 6.0\Web\cherrypy\_cprequest.pyo in respond(self=<cherrypy._cprequest.Request object at 0x031B11B0>, path_info='/openerp/listgrid/get')
C:\Program Files (x86)\OpenERP 6.0\Web\cherrypy\_cpdispatch.pyo in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x031B14F0>)
C:\Program Files (x86)\OpenERP 6.0\Web\openobject\tools\_expose.pyo in func_wrapper(*args=(<openobject.controllers._root.Root object at 0x011DCC50>, 'openerp', 'listgrid', 'get'), **kw={'_terp_action_id': '357', '_terp_context': 'undefined', '_terp_count': '0', '_terp_domain': "[('type', '=', 'opportunity')]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': '[]', '_terp_id': 'False', '_terp_ids': '', ...})
C:\Program Files (x86)\OpenERP 6.0\Web\openobject\controllers\_root.pyo in default(self=<openobject.controllers._root.Root object at 0x011DCC50>, *args=('openerp', 'listgrid', 'get'), **kw={'_terp_action_id': '357', '_terp_context': 'undefined', '_terp_count': '0', '_terp_domain': "[('type', '=', 'opportunity')]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': '[]', '_terp_id': 'False', '_terp_ids': '', ...})
C:\Program Files (x86)\OpenERP 6.0\Web\cherrypy\_cpdispatch.pyo in __call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x02F29110>)
C:\Program Files (x86)\OpenERP 6.0\Web\addons\openerp\controllers\utils.py in wrapper(*args=(), **kw={'_terp_action_id': '357', '_terp_context': 'undefined', '_terp_count': '0', '_terp_domain': "[('type', '=', 'opportunity')]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': '[]', '_terp_id': 'False', '_terp_ids': '', ...})
110 # User is logged in; allow access
111 clear_login_fields(kw)
112 return fn(*args, **kw)
113 else:
114 action = kw.get('login_action', '')
C:\Program Files (x86)\OpenERP 6.0\Web\openobject\tools\_expose.pyo in func_wrapper(*args=(<openerp.controllers.listgrid.List object at 0x02F29B50>,), **kw={'_terp_action_id': '357', '_terp_context': 'undefined', '_terp_count': '0', '_terp_domain': "[('type', '=', 'opportunity')]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': '[]', '_terp_id': 'False', '_terp_ids': '', ...})
C:\Program Files (x86)\OpenERP 6.0\Web\addons\openerp\controllers\listgrid.py in get(self=<openerp.controllers.listgrid.List object at 0x02F29B50>, **kw={'_terp_action_id': '357', '_terp_context': 'undefined', '_terp_count': '0', '_terp_domain': "[('type', '=', 'opportunity')]", '_terp_editable': 'True', '_terp_filter_domain': '[]', '_terp_filters_context': '', '_terp_group_by_ctx': '[]', '_terp_id': 'False', '_terp_ids': '', ...})
281 frm = res['form']
282 else:
283 frm = form.Form().create_form(params)
284
285 if params.view_type == 'graph':
C:\Program Files (x86)\OpenERP 6.0\Web\addons\openerp\controllers\form.py in create_form(self=<openerp.controllers.form.Form object at 0x02E2FB70>, params={'_terp_offset': 0, '_terp_filters_context': '',...ing': 'Opportunities', '_terp_filter_domain': []}, tg_errors=None)
184 params.view_type = params.view_type or params.view_mode[0]
185
186 return tw.form_view.ViewForm(params, name="view_form", action="/openerp/form/save")
187
188 @expose(template="/openerp/controllers/templates/form.mako")
C:\Program Files (x86)\OpenERP 6.0\Web\addons\openerp\widgets\form_view.py in __init__(self=ViewForm, params={'_terp_offset': 0, '_terp_filters_context': '',...ing': 'Opportunities', '_terp_filter_domain': []}, **kw={'action': '/openerp/form/save', 'name': 'view_form'})
61 params_domain = params.domain or []
62 for element in params_domain:
63 if element not in search_param or len(element) == 1:
64 if not isinstance(element,tuple):
65 search_param.append(element)
<type 'exceptions.TypeError'>: 'in <string>' requires string as left operand
args = ("'in <string>' requires string as left operand",)
message = "'in <string>' requires string as left operand
The expected result
---------------------------------
Search results
Web browser and platform your are using
----------------------------------------------------------------------
Google Chrome 13.0.782.215: FAILS
IE 9.0.x: Works
OpenERP 6.0.3 from installer
Server: Windows 2008
Client: Windows 7 64 Bits
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/836825/+subscriptions
References