Bug 675762

Summary: Unable cancel child resource creation after package upload
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: ContentAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 625146    

Description Lukas Krejci 2011-02-07 16:56:04 UTC
Description of problem:

If logged in as a non-inventory-manager user, it is not possible to cancel new child resource creation after a package has been uploaded.

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


How reproducible:
always

Steps to Reproduce:
1. Create a recursive group of jboss as instances.
2. Create a role that just has "Create Child Resource" permission and is associated with the above group.
3. Create a user that is only associated with that role.
4. Log in as that user.
5. Navigate to one of the jboss as instances.
6. Select "Enterprise Application (EAR)" in the "Create Child" dropdown.
7. Fill in the info on the first page of the wizard.
8. Upload a file on the second page.
9. Click "Cancel" on the second page.
10. Observe the uncaught exception in the message center.
  
Actual results:
Uncaught exception and an "orphaned" package in the database

Expected results:
No exceptions, no artefacts left in the database


Additional info:

Comment 1 Charles Crouch 2011-09-27 02:24:08 UTC
Non-core use case, no privilege issue, setting to medium priority.