
|
If you were logged in you would be able to see more operations.
|
|
|
|
Issue Links:
|
Relation
|
|
This issue Relates To:
|
|
RHQ-372
Uninventory button should not be displayed for Services
|
|
|
|
|
|
|
|
| Resolution Date: |
17/Dec/08 10:44 PM
|
| Date of First Response: |
17/Dec/08 10:44 PM
|
| Tester: |
Corey Welton
|
| VCS Revision: |
2,442
|
|
On the Child Resources section of the Inventory tab, we list all child resources. Each Resource has a checkbox next to it to allow you to select it. There are two buttons - Uninventory and Delete - that can be clicked to uninventory or delete the selected Resources. The problem is that only certain Resources (ones whose Resource type is defined as being deletable) can be Deleted. So currently, a user could select one or more non-deletable Resources, click the Delete button, and then will get "Resource type foo does not support the DeleteResourceFacet" errors. It would be nicer if the GUI prevented the user from trying this invalid operation in the first place.
One way would be to use JavaScript to gray out the Delete button unless only deletable Resources are selected. But then I think we'd also need to somehow indicate which Resources are deletable and include a note along the lines of "Note: Only certain types of Resources are deletable. The Delete button will only be enabled if all selected Child Resources are deletable."
James, what do you think?
|
|
Description
|
On the Child Resources section of the Inventory tab, we list all child resources. Each Resource has a checkbox next to it to allow you to select it. There are two buttons - Uninventory and Delete - that can be clicked to uninventory or delete the selected Resources. The problem is that only certain Resources (ones whose Resource type is defined as being deletable) can be Deleted. So currently, a user could select one or more non-deletable Resources, click the Delete button, and then will get "Resource type foo does not support the DeleteResourceFacet" errors. It would be nicer if the GUI prevented the user from trying this invalid operation in the first place.
One way would be to use JavaScript to gray out the Delete button unless only deletable Resources are selected. But then I think we'd also need to somehow indicate which Resources are deletable and include a note along the lines of "Note: Only certain types of Resources are deletable. The Delete button will only be enabled if all selected Child Resources are deletable."
James, what do you think? |
Show » |
|
to better support
RHQ-372, only allow uninventory from the resource browser;