c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #10800
[Bug 697007] Re: HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
We use CherryPy 3.1.2 under Debian Squeeze, it's probably related to
this environment. What are you using ???
I removed the call to 'prevent_csrf' in openobject/controllers/_root.py and it works now ! :-)
Wolfgang, what did you change exactly ? Do you have a diff ?
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/697007
Title:
HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
Status in OpenObject Web Client:
Confirmed
Bug description:
openerp-web raises the following traceback after being upgraded with latest RC2 commits:
403 Forbidden
Request Forbidden -- You are not allowed to access this resource.
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/local/lib/python2.6/dist-packages/CherryPy-3.1.2-py2.6.egg/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/tools/_expose.py", line 191, in func_wrapper
res = func(*args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/controllers/_root.py", line 75, in default
self.prevent_csrf(request)
File "/usr/local/lib/python2.6/dist-packages/openerp_web-6.0.0_rc1-py2.6.egg/openobject/controllers/_root.py", line 51, in prevent_csrf
raise cherrypy.HTTPError(403, "Request Forbidden -- You are not allowed to access this resource.")
HTTPError: (403, 'Request Forbidden -- You are not allowed to access this resource.')
References