Opened 2 years ago
Closed 2 years ago
#1239 closed defect (fixed)
Access to confUser.py without login fails with an exception
Reported by: | sylvestre | Owned by: | arescope |
---|---|---|---|
Priority: | high | Milestone: | v1.1 |
Component: | General | Version: | 0.99 |
Keywords: | Cc: |
Description
1) Logout form indico
2) Go on http://hostname/confUser.py
3) => Exception
The full exception: 2013-04-16 15:41:59,911 indico.wsgi - ERROR indico_wsgi_handler_utils.py:635 -- WSGI Exception Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/indico/web/wsgi/indico_wsgi_handler.py", line 92, in application mp_legacy_publisher(req, possible_module, possible_handler) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/indico/web/wsgi/indico_wsgi_handler.py", line 224, in mp_legacy_publisher return _check_result(req, module_globals[possible_handler](req, **form)) File "<string>", line 26, in index File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/rh/base.py", line 662, in process res = self._processGeneralError( e ) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/rh/base.py", line 352, in _processGeneralError return p.display() File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/pages/base.py", line 173, in display self._display( params ), \ File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/pages/base.py", line 226, in _display return self._applyDecoration( self._getBody( params ) ) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/pages/base.py", line 222, in _applyDecoration return "<div class=\"wrapper\"><div class=\"main\">%s%s</div></div>%s"%( self._getHeader(), body, self._getFooter() ) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/pages/base.py", line 207, in _getHeader "loginURL": self._escapeChars(str(self.getLoginURL())),\ File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/pages/base.py", line 195, in getLoginURL return urlHandlers.UHSignIn.getURL("%s"%self._rh.getCurrentURL()) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/rh/base.py", line 120, in getCurrentURL return self._uh.getURL( self._target ) File "/usr/local/lib/python2.7/dist-packages/indico-0.99-py2.7.egg/MaKaC/webinterface/urlHandlers.py", line 1649, in getURL url.setParams( conf.getLocator() ) AttributeError: 'NoneType' object has no attribute 'getLocator' Additional information: URL: http://hostname/confUser.py Params: {} IP: 173.208.150.250 User Agent: Mozilla/5.0 (compatible; MJ12bot/v1.4.3; http://www.majestic12.co.uk/bot.php?+) Referer: n/a
Change History (5)
comment:1 Changed 2 years ago by jbenito
- Milestone set to v1.1
- Priority changed from normal to high
comment:2 Changed 2 years ago by arescope
- Owner set to arescope
- Status changed from new to assigned
comment:3 Changed 2 years ago by arescope
- Status changed from assigned to awaiting_merge
comment:4 Changed 2 years ago by jbenito
- Status changed from awaiting_merge to merging
comment:5 Changed 2 years ago by jbenito
- Resolution set to fixed
- Status changed from merging to closed
Note: See
TracTickets for help on using
tickets.
commit: 26d24583da548697bcd907493999640a8e133cfa