Red Hat Bugzilla – Bug 534653
Disable "Manual add:" in inventory when the resource is marked as down, as the create will fail in any case
Last modified: 2014-07-21 09:30:22 EDT
Go to the inventory page of a downed resource (e.g. a platform where the agent is down).
Try to e.g. manually a postgres server.
The add dialog works as normal, but after submitting an error is shown:
An unexpected error occurred in the Agent. Failed to add resource with type [Postgres Server] and parent resource id . - Cause: java.lang.NullPointerException:null
We should perhaps grey out / disable the "Manually add" section when the resource is down, as the manual will not work when the resource is not started.
2009-01-29 16:38:34,119 ERROR [WorkerThread#0[127.0.0.1:57571]] (rhq.core.pc.inv
entory.InventoryManager)- Manual add failed for resource of type 'Postgres Serve
r' and parent resource id .
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1429
Making a bunch of UI related bugs block the 'gwt' issue. Doesn't mean these have to be done, but they should at least be thought about.
there are two items - in the left hand resource tree, right mouse button and the inventory tab>children there is an Import option. That's the option we should disable.
this is also true for the Create child option as well (from the left hand tree popup menu). need to disable that too.
I believe this is still true. Not sure.