Bug 675762 - Unable cancel child resource creation after package upload
Unable cancel child resource creation after package upload
Status: NEW
Product: RHQ Project
Classification: Other
Component: Content (Show other bugs)
4.0.0
Unspecified Unspecified
medium Severity medium (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks: jon30-bugs
  Show dependency treegraph
 
Reported: 2011-02-07 11:56 EST by Lukas Krejci
Modified: 2011-09-26 22:24 EDT (History)
0 users

See Also:
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:


Attachments (Terms of Use)

  None (edit)
Description Lukas Krejci 2011-02-07 11:56:04 EST
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-26 22:24:08 EDT
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.