Bug 1039514 - 500 error met when anonymous view system
Summary: 500 error met when anonymous view system
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.15
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 0.15.2
Assignee: Nick Coghlan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-09 10:25 UTC by wangjing
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-19 07:04:13 UTC
Embargoed:


Attachments (Terms of Use)

Comment 3 Nick Coghlan 2013-12-11 05:06:59 UTC
The systems page checks for reservation permissions to determine what messages to display on the "Provisioning" tab, but the permissions checks in the system model assume a logged in user.

This can lead to an AttributeError and hence a 500 error when an anonymous user views the page (whether that will actually happen depends on various other things about the state of the system).

Comment 4 Dan Callaghan 2013-12-11 05:09:27 UTC
Sounds like a regression in 0.15.1.

Comment 5 Nick Coghlan 2013-12-11 06:20:09 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/2612

Comment 8 wangjing 2013-12-13 03:27:34 UTC
reproduced on my vm, updating to the latest packages(beaker-server-0.15.2-0.git.111.249da37.el6eng), 500 error fixed, actual results as same as expected results in comment7

Comment 9 Amit Saha 2013-12-19 07:04:13 UTC
Release announcement: https://lists.fedorahosted.org/pipermail/beaker-devel/2013-December/000923.html


Note You need to log in before you can comment on or make changes to this bug.