#667: Error rendering forbidden pages
---------------------+---------------
Reporter: olemis | Owner:
Type: defect | Status: new
Priority: major | Version:
Resolution: |
---------------------+---------------
==== How to Reproduce ====
While doing a GET operation on `/query`, Trac issued an internal error.
Initially the web page was loaded as expected . The error message was
displayed after revoking permissions to view target resource.
Request parameters:
{{{
{}
}}}
User agent: Chromium 17.0.963.79 (Developer Build 125985 Linux) Ubuntu
10.04
==== System Information ====
''System information not available''
==== Enabled Plugins ====
''Plugin information not available''
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "/path/to/bloodhound/trac/trac/web/main.py", line 477, in
_dispatch_request
dispatcher.dispatch(req)
File "/path/to/bloodhound/trac/trac/web/main.py", line 179, in dispatch
chosen_handler)
File "/path/to/bloodhound/trac/trac/web/main.py", line 325, in
_pre_process_request
chosen_handler = filter_.pre_process_request(req, chosen_handler)
File "/path/to/bloodhound/bloodhound_theme/bhtheme/theme.py", line 256,
in pre_process_request
for i, entry in enumerate(req.chrome['nav']['mainnav']):
KeyError: 'mainnav'
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/667>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker