"pop from empty list" dms (generated file)

Bug #702340 reported by tfr (Openerp)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

create a new directories and directly go to "Generated Files" tab click on the new icon
the popup with the form for virtual files : search for a report

then the error :

[2011-01-13 14:13:53,396][?] DEBUG_RPC:service:'object'
[2011-01-13 14:13:53,396][?] DEBUG_RPC:method:'execute'
[2011-01-13 14:13:53,398][?] DEBUG_RPC:params:['bug_pop',
[2011-01-13 14:13:53,398][?] DEBUG_RPC:params: 1,
[2011-01-13 14:13:53,398][?] DEBUG_RPC:params: '*',
[2011-01-13 14:13:53,399][?] DEBUG_RPC:params: 'ir.actions.report.xml',
[2011-01-13 14:13:53,399][?] DEBUG_RPC:params: 'name_search',
[2011-01-13 14:13:53,399][?] DEBUG_RPC:params: '',
[2011-01-13 14:13:53,399][?] DEBUG_RPC:params: [('model_id', '=', False)],
[2011-01-13 14:13:53,399][?] DEBUG_RPC:params: 'ilike',
[2011-01-13 14:13:53,400][?] DEBUG_RPC:params: {'department_id': False,
[2011-01-13 14:13:53,400][?] DEBUG_RPC:params: 'lang': u'en_US',
[2011-01-13 14:13:53,400][?] DEBUG_RPC:params: 'project_id': False,
[2011-01-13 14:13:53,400][?] DEBUG_RPC:params: 'section_id': False,
[2011-01-13 14:13:53,401][?] DEBUG_RPC:params: 'tz': False}]
[2011-01-13 14:13:53,402][bug_pop] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/server/bin/osv/orm.py", line 1785, in name_search
    return self._name_search(cr, user, name, args, operator, context, limit)
  File "/home/openerp/trunk/server/bin/osv/orm.py", line 1798, in _name_search
    ids = self._search(cr, user, args, limit=limit, context=context, access_rights_uid=access_rights_uid)
  File "/home/openerp/trunk/server/bin/osv/orm.py", line 3953, in _search
    query = self._where_calc(cr, user, args, context=context)
  File "/home/openerp/trunk/server/bin/osv/orm.py", line 3808, in _where_calc
    where_clause, where_params = e.to_sql()
  File "/home/openerp/trunk/server/bin/osv/expression.py", line 496, in to_sql
    q2 = stack.pop()

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Fixed by revision 3293 <email address hidden>

Changed in openobject-addons:
milestone: none → 6.0
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.