← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 832638] Re: sorting field crashes

 

Hello,

I have checked the issue with the web-client 6.0 and could reproduce the
error but with the latest web-client(6.1) it is working fine.

Would you please check this again with the latest web-client 6.1.
https://code.launchpad.net/~openerp/openerp-web/trunk

Thanks.

** Project changed: openobject-addons => openerp-web

** Changed in: openerp-web
       Status: New => Fix Released

-- 
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/832638

Title:
  sorting field crashes

Status in OpenERP Web:
  Fix Released

Bug description:
  How to reproduce the bug:
  1st, I enter the Leads section, and click "Clear" to get all leads appear.
  2nd, I click the "CREATION DATE" column header twice to get the leads be sorted descending.
  3rd, I click one lead to see its detail. Then return to the Search View".
  4th, after I return to the "Search View", the sorting is damaged.
  Then I click the "CREATION DATE" column header again to sort the leads, 
  but the Application Error warning appears as followed:

  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 1743, 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 4010, 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 3865, 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/832638/+subscriptions


Follow ups

References