Bug 1254381 - A pool name can be set as empty
Summary: A pool name can be set as empty
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 21.1
Assignee: Roman Joost
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-17 22:35 UTC by matt jia
Modified: 2015-10-21 03:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-21 03:25:20 UTC
Embargoed:


Attachments (Terms of Use)

Description matt jia 2015-08-17 22:35:29 UTC
Description of problem:

A pool name can be updated with empty value.

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


How reproducible:

Always

Steps to Reproduce:
1. go to a pool edit page
2. click Edit button
3. change name to empty and Click on Save Changes button

Actual results:

The pool's name is set as empty

Expected results:

Should not allow to set name as empty

Comment 1 Dan Callaghan 2015-08-24 04:45:58 UTC
Should be able to just add a SQLAlchemy validator to ensure the name is not empty string.

Comment 2 Roman Joost 2015-08-24 23:01:42 UTC
Patch in Gerrit:

https://gerrit.beaker-project.org/#/c/4364/

Comment 5 Dan Callaghan 2015-10-21 03:25:20 UTC
Beaker 21.1 has been released.


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