Bug 675762 - Unable cancel child resource creation after package upload
Summary: Unable cancel child resource creation after package upload
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Content
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: jon30-bugs
TreeView+ depends on / blocked
 
Reported: 2011-02-07 16:56 UTC by Lukas Krejci
Modified: 2022-03-31 04:27 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


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