Bug 477796 - Can create multiple hw pools with the same name inside one parent
Summary: Can create multiple hw pools with the same name inside one parent
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Virtualization Tools
Classification: Community
Component: ovirt-server-suite
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Scott Seago
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-23 19:06 UTC by David Lutterkort
Modified: 2014-07-06 19:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 17:19:10 UTC
Embargoed:


Attachments (Terms of Use)

Description David Lutterkort 2008-12-23 19:06:04 UTC
Description of problem:

It is possible to create multiple HW pools with teh same name in the same place in the tree.

How reproducible:

Click on the 'default' HW pool, create a new subpool called 'mypool'. Repeat at least once more

Expected result:

The second and further attempts to create a pool with an existing name inside one pool is rejected.

Comment 1 Jia Dong 2009-01-21 07:09:31 UTC
It also exists in version 0.96.

Comment 2 Scott Seago 2009-05-22 16:43:29 UTC
We already had the validation rule in place, but the way the betternestedset API sets the parent_id the rules were being bypassed. Fixed in the linked patch:

https://www.redhat.com/archives/ovirt-devel/2009-May/msg00193.html


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