Projet

Général

Profil

Bug #72898

Mis à jour par Lauréline Guérin il y a plus d'un an

https://sentry.entrouvert.org/entrouvert/publik/issues/100123/
https://sentry.entrouvert.org/entrouvert/gplexpert/issues/100202/


<pre>
AccessUnauthorizedError: AccessUnauthorizedError()
(4 additional frame(s) were not displayed)
...
File "wcs/root.py", line 307, in _q_traverse
return Directory._q_traverse(self, path)
File "quixote/directory.py", line 88, in _q_traverse
return obj._q_traverse(path)
File "wcs/backoffice/root.py", line 86, in _q_traverse
return super()._q_traverse(path)
File "quixote/directory.py", line 115, in _q_traverse
self._q_access()
File "wcs/backoffice/root.py", line 154, in _q_access
raise errors.AccessUnauthorizedError(

AttributeError: 'NoneType' object has no attribute 'message'
(4 additional frame(s) were not displayed)
...
File "django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "wcs/compat.py", line 74, in get
context = {'body': get_publisher().finish_interrupted_request(exc)}
File "wcs/qommon/publisher.py", line 216, in finish_interrupted_request
output = self.format_publish_error(exc)
File "wcs/qommon/publisher.py", line 191, in format_publish_error
return exc.render()
File "wcs/qommon/errors.py", line 61, in render
session.message = ('error', str(self.public_msg))
</pre>

Retour