← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 874542] Re: context none is not a dict

 

** Changed in: openerp-web
   Importance: Undecided => Low

** Changed in: openerp-web
       Status: New => Confirmed

** Changed in: openerp-web
     Assignee: (unassigned) => OpenERP R&D Web Team (openerp-dev-web)

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

Title:
  context none is not a dict

Status in OpenERP Web:
  Confirmed

Bug description:
  In fresh installation in trunk with revno 1261, i get an error
  following:

  Create a Lead
  CLose the Lead
  Try to creat Oportunity from Lead

  Error:

  Client Traceback (most recent call last):
    File "/Users/t0rn0/Projects/trunk/web/addons/web/common/http.py", line 154, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/Users/t0rn0/Projects/trunk/web/addons/web/controllers/main.py", line 904, in load
      return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
    File "/Users/t0rn0/Projects/trunk/web/addons/web/controllers/main.py", line 760, in fields_view_get
      context = req.session.eval_context(req.context)
    File "/Users/t0rn0/Projects/trunk/web/addons/web/common/session.py", line 158, in eval_context
      return ccontext.evaluate(ctx)
    File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 265, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 265, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/Users/t0rn0/Projects/trunk/web/addons/web/common/nonliterals.py", line 256, in evaluate
      "Context %r is not a dict or a nonliteral Context" % context_to_eval)
  TypeError: Context None is not a dict or a nonliteral Context

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


References