← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 881301] [NEW] cannot answer a survey

 

Public bug reported:

chrome, trunk, hr_evaluation -> edmo data or not

Hr -> employee -> assign a evaluation plan -> go to hr evaluation ->
start the plan -> and answer the first line


Client Traceback (most recent call last):
  File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1083, in load
    context = req.session.eval_context(req.context)
  File "/home/aline/source/web/trunk/addons/web/common/session.py", line 158, 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: "{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response, 'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}", message: "name 'survey_id' is not defined"
for more info check the video

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

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

Title:
  cannot answer a survey

Status in OpenERP Web:
  New

Bug description:
  chrome, trunk, hr_evaluation -> edmo data or not

  Hr -> employee -> assign a evaluation plan -> go to hr evaluation ->
  start the plan -> and answer the first line

  
  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 1083, in load
      context = req.session.eval_context(req.context)
    File "/home/aline/source/web/trunk/addons/web/common/session.py", line 158, 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: "{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response, 'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}", message: "name 'survey_id' is not defined"
  for more info check the video

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


Follow ups

References