← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 719406] [NEW] Record rules with domain [] result in application error

 

Public bug reported:

1. In v6.0.1, create any record rule with empty domain [].
2. Log in with user other than admin and pull up any view that invokes above rule, following application error will be reported:
  File "C:\Program Files\OpenERP 6.0\Server\addons\base\ir\ir_rule.py", line 141, in domain_get
  File "osv\orm.pyo", line 3823, in _where_calc
  File "osv\expression.pyo", line 499, in to_sql
IndexError: pop from empty list

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  Record rules with domain [] result in application error

Status in OpenERP Server:
  New

Bug description:
  1. In v6.0.1, create any record rule with empty domain [].
  2. Log in with user other than admin and pull up any view that invokes above rule, following application error will be reported:
    File "C:\Program Files\OpenERP 6.0\Server\addons\base\ir\ir_rule.py", line 141, in domain_get
    File "osv\orm.pyo", line 3823, in _where_calc
    File "osv\expression.pyo", line 499, in to_sql
  IndexError: pop from empty list





Follow ups

References