on creating Question from survey : found Traceback

Bug #865048 reported by Hardik Ansodariya (OpenERP)
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Web Team

Bug Description

Tools > Survey > Define Surveys > Survey > new > survey question new
# There are different Traceback on gtk client adn web-client while performing same thing. when performing from web-client it says like name 'in_visible_rating_weight' is not defined and when performing from gtk-client it says like name 'answer_choice_ids' is not defined

OpenERP WebClient Error
Client Traceback (most recent call last):
  File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 938, in load
    return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
  File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 794, in fields_view_get
    context = req.session.eval_context(req.context)
  File "/home/han/rdtool/client-web/trunk/addons/web/common/session.py", line 159, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 179, in evaluate
    return eval(self.get_context_string(), SuperDict(ctx))
  File "<string>", line 1, in <module>
NameError: name 'in_visible_rating_weight' is not defined

GTK Trace on same thing

ERROR:tools.expr_eval:{'line_order': page_ids}
Traceback (most recent call last):
  File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'page_ids' is not defined
ERROR:tools.expr_eval:{'line_order': question_ids}
Traceback (most recent call last):
  File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'question_ids' is not defined
ERROR:tools.expr_eval:{'line_order': answer_choice_ids}
Traceback (most recent call last):
  File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
    temp = eval(string, context)
  File "<string>", line 1, in <module>
NameError: name 'answer_choice_ids' is not defined

Related branches

Revision history for this message
Hardik Ansodariya (OpenERP) (han-tinyerp) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
affects: openobject-addons → openerp-web
Changed in openerp-web:
assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1) → OpenERP R&D Web Team (openerp-dev-web)
Changed in openerp-web:
status: Confirmed → In Progress
Changed in openerp-web:
status: In Progress → Confirmed
Changed in openerp-web:
status: Confirmed → In Progress
Changed in openerp-web:
importance: Low → Medium
Changed in openerp-web:
status: In Progress → 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.