← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 848650] Re: Calendar view doesn't show error message window when server raise osv exception.

 

** Patch added: "calendar_exception.patch"
   https://bugs.launchpad.net/bugs/848650/+attachment/2395592/+files/calendar_exception.patch

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

Title:
  Calendar view doesn't show error message window when server raise osv
  exception.

Status in OpenERP Web Client:
  New

Bug description:
  Calendar view doesn't show error message window when server raise osv exception.
  Web client revision number : 4690
  Traceback on web client : 
  Traceback (most recent call last):
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/lib/cherrypy/_cprequest.py", line 606, in respond
      cherrypy.response.body = self.handler()
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/lib/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/openobject/controllers/_root.py", line 90, in default
      return request.handler()
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/lib/cherrypy/_cpdispatch.py", line 25, in __call__
      return self.callable(*self.args, **self.kwargs)
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/addons/openerp/controllers/utils.py", line 112, in wrapper
      return fn(*args, **kw)
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/openobject/tools/_expose.py", line 182, in func_wrapper
      res = func(*args, **kw)
    File "/home/dsh/openerp/bazaar/Projects/Methodia/web_client/addons/view_calendar/controllers/_calendar.py", line 153, in save
      return dict(error=error, info=info)
  UnboundLocalError: local variable 'info' referenced before assignment

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/848650/+subscriptions


References