cannot create a new survey

Bug #914208 reported by Aline (OpenERP)
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
High
OpenERP R&D Addons Team 1

Bug Description

in a db without demo data, install survey

- go to Tools/ Surveys/Define a Survey/ Surveys
- create a new one ;

Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 175, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 875, in default_get
    return Model.default_get(fields, req.session.eval_context(req.context))
  File "/home/aline/source/web/trunk/addons/web/common/session.py", line 165, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 267, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/aline/source/web/trunk/addons/web/common/nonliterals.py", line 187, in evaluate
    raise ValueError('Error during evaluation of this context: "%s", message: "%s"' % (self.get_context_string(), e.message))
ValueError: Error during evaluation of this context: "{'line_order': page_ids}", message: "name 'page_ids' is not defined"

Related branches

Changed in openerp-web:
status: New → Confirmed
importance: Undecided → High
Changed in openerp-web:
status: Confirmed → In Progress
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Is a bug in addons due to another view that defines o2m with a context referencing the same o2m.

See patch to know which view is problematic.

Changed in openerp-web:
status: In Progress → Confirmed
affects: openerp-web → openobject-addons
Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Kuldeep Joshi(OpenERP) (kjo-openerp) wrote :

Hello, Thanks For Reporting.
It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-914208-kjo
revision-id: <email address hidden>
revno: 6323
It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Hello,

Fix landed in trunk.
revno: 6335
revision-id: <email address hidden>

Best regards,

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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