Bug 999391 - loaning system to unknown user produced error 500
Summary: loaning system to unknown user produced error 500
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.16.2
Assignee: matt jia
QA Contact: tools-bugs
URL:
Whiteboard:
: 1009333 (view as bug list)
Depends On: 1011858
Blocks: 545868
TreeView+ depends on / blocked
 
Reported: 2013-08-21 09:11 UTC by Jan Hutař
Modified: 2018-02-06 00:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-28 23:00:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1009333 0 high CLOSED Beaker shows 500 error when someone tries to loan one system to others, but he only has loan-self permission 2021-02-22 00:41:40 UTC

Internal Links: 1009333

Comment 2 Nick Coghlan 2013-10-01 00:27:14 UTC
This problem still exists in 0.15.

Comment 3 Nick Coghlan 2013-10-01 01:18:30 UTC
Moving this to 0.15.1, as there are already other loan related 500 errors being cleaned up in that maintenance release.

Comment 4 Nick Coghlan 2013-10-10 06:35:49 UTC
The patch for bug 1011858 at least turns this into a 400 error, but still doesn't display a proper error message.

Comment 6 matt jia 2014-04-11 05:58:50 UTC
On gerrit:

http://gerrit.beaker-project.org/#/c/3018/

Cheers,Matt Jia

Comment 7 matt jia 2014-04-14 00:46:08 UTC
*** Bug 1009333 has been marked as a duplicate of this bug. ***

Comment 8 Dan Callaghan 2014-04-28 04:36:10 UTC
This was actually merged for Beaker 0.16.2.

Comment 9 Dan Callaghan 2014-04-28 04:44:52 UTC
Steps to reproduce:
1. Go to the system page, click Loan Settings
2. Fill in an invalid username, for example "validuser" (Beaker usernames do not contain @domain portion) or "nonexistentuser"
3. Click Update Loan

Actual results:
Your request failed with the following error: Status 500

Expected results:
a more descriptive error message

Comment 11 Dan Callaghan 2014-04-28 23:00:29 UTC
Beaker 0.16.2 has been released.


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