← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 860290] [NEW] NameError: name 'active_id' is not defined

 

Public bug reported:

step to reproduce the bug :
- Install survey module.
- go to the survey form and  click on the "Answer survey" action buttons.
- no any action buttons working.

Client Traceback (most recent call last):
  File "/home/amit/OpenERP/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/amit/OpenERP/client-web/trunk/addons/web/controllers/main.py", line 1108, in load
    context = req.session.eval_context(req.context)
  File "/home/amit/OpenERP/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
    return ccontext.evaluate(ctx)
  File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
    final_context.update(context_to_eval.evaluate(ctx))
  File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 173, in evaluate
    return eval(self.get_context_string(), SuperDict(ctx))
  File "<string>", line 1, in <module>
NameError: name 'active_id' is not defined

** Affects: openerp-web
     Importance: Undecided
         Status: New

** Description changed:

  step to reproduce the bug :
  - Install survey module.
  - go to the survey form and  click on the "Answer survey" action buttons.
- 
+ - no any action buttons working.
  
  Client Traceback (most recent call last):
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
-     response["result"] = method(controller, self, **self.params)
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/controllers/main.py", line 1108, in load
-     context = req.session.eval_context(req.context)
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
-     return ccontext.evaluate(ctx)
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
-     final_context.update(context_to_eval.evaluate(ctx))
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
-     final_context.update(context_to_eval.evaluate(ctx))
-   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 173, in evaluate
-     return eval(self.get_context_string(), SuperDict(ctx))
-   File "<string>", line 1, in <module>
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
+     response["result"] = method(controller, self, **self.params)
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/controllers/main.py", line 1108, in load
+     context = req.session.eval_context(req.context)
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
+     return ccontext.evaluate(ctx)
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
+     final_context.update(context_to_eval.evaluate(ctx))
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
+     final_context.update(context_to_eval.evaluate(ctx))
+   File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 173, in evaluate
+     return eval(self.get_context_string(), SuperDict(ctx))
+   File "<string>", line 1, in <module>
  NameError: name 'active_id' is not defined

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/860290

Title:
  NameError: name 'active_id' is not defined

Status in OpenERP Web:
  New

Bug description:
  step to reproduce the bug :
  - Install survey module.
  - go to the survey form and  click on the "Answer survey" action buttons.
  - no any action buttons working.

  Client Traceback (most recent call last):
    File "/home/amit/OpenERP/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/amit/OpenERP/client-web/trunk/addons/web/controllers/main.py", line 1108, in load
      context = req.session.eval_context(req.context)
    File "/home/amit/OpenERP/client-web/trunk/addons/web/common/session.py", line 168, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 248, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/amit/OpenERP/client-web/trunk/addons/web/common/nonliterals.py", line 173, in evaluate
      return eval(self.get_context_string(), SuperDict(ctx))
    File "<string>", line 1, in <module>
  NameError: name 'active_id' is not defined

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


Follow ups

References