Public bug reported:
How to reproduce it in OE 6.0.3
Open Leads in view (eg with limit 1-20)
In a list (eg leads) you open the last record (record number 20 in the list) in
form view and you try to navigate to record number 21 with the navigating
arrows (triangle "next").
You get the following error:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/netsvc.py",
line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth,
params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/service/web_services.py",
line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py",
line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py",
line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py",
line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py",
line 1745, in search
return self._search(cr, user, args, offset=offset, limit=limit,
order=order, context=context, count=count)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py",
line 4019, in _search
query = self._where_calc(cr, user, args, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py",
line 3874, in _where_calc
where_clause, where_params = e.to_sql()
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/expression.py",
line 498, in to_sql
q1 = stack.pop()
IndexError: pop from empty list
It happens the same with list separation 1-50 when you go to record
number 50 and try to navigate to number 51.
** Affects: openobject-client-web
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/899046
Title:
Crash web paging the list
Status in OpenERP Web Client:
New
Bug description:
How to reproduce it in OE 6.0.3
Open Leads in view (eg with limit 1-20)
In a list (eg leads) you open the last record (record number 20 in the list)
in form view and you try to navigate to record number 21 with the navigating
arrows (triangle "next").
You get the following error:
Traceback (most recent call last):
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/netsvc.py", line
489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth,
params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/service/web_services.py",
line 599, in dispatch
res = fn(db, uid, *params)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py", line
122, in wrapper
return f(self, dbname, *args, **kwargs)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py", line
176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/osv.py", line
167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py", line
1745, in search
return self._search(cr, user, args, offset=offset, limit=limit,
order=order, context=context, count=count)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py", line
4019, in _search
query = self._where_calc(cr, user, args, context=context)
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/orm.py", line
3874, in _where_calc
where_clause, where_params = e.to_sql()
File
"/usr/local/lib/python2.6/dist-packages/openerp-server_9040/osv/expression.py",
line 498, in to_sql
q1 = stack.pop()
IndexError: pop from empty list
It happens the same with list separation 1-50 when you go to record
number 50 and try to navigate to number 51.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/899046/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp