Bug 743499 - Errors creating lab controllers are not handled properly
Summary: Errors creating lab controllers are not handled properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-05 06:49 UTC by Raymond Mancy
Modified: 2019-05-22 13:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-01 05:08:25 UTC


Attachments (Terms of Use)

Description Raymond Mancy 2011-10-05 06:49:31 UTC
Description of problem:
Errors creating lab controllers are not handled properly

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.go to /labcontrollers/new
2.Enter details, ensuring to use an email address that already exists
3.Save
  
Actual results:

500 ISE


Expected results:

It works


Additional info:

the save() method in bkr.model.labcontroller uses the edit()
method as an error_handler. The edit() method expects a valid LC id,
and if you fail to create an LC you don't have one.

Comment 1 Dan Callaghan 2012-11-01 05:08:25 UTC
I think this is fixed now.

http://git.beaker-project.org/cgit/beaker/commit/?id=4cecff95


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