#385 admin endpoints return http 500 errors
Closed: Fixed None Opened 11 years ago by tflink.

= bug description =

Whenever a user with appropriate privilages visits an admin url (admin/main for example), the app returns an http 500 error due to missing data in the template.

= bug analysis =

layout.html references info!['last_updated'] which isn't passed into jinja in the admin controller - when the template is rendered, there is no info!['last_updated'] causing the http 500

= fix recommendation =

Either move the footer lower down in the milestone templates so it's not in layout.html and thus not pulled into the admin templates or override the admin base to use a different footer so that it isn't trying to access info!['last_updated'].


Login to comment on this ticket.

Metadata