Description of problem: When there are no file to rollback to, the "Rollback" button should be disabled. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Navigate to the Patch Mgmt page. 2.When the table is empty, select the "Rollback" button 3. Actual results: "Rollback" button is active and receives focus. Expected results: "Rollback" button should be disabled when there are no patches populating the table. Additional info:
Verified with EAP 6.3.0.DR5
Other button state comments: - When the table is empty (or when the system is NOT in a "restart required" state), should the "Restart" button be disabled as well? - It might be helpful to provide tooltips for the Patch table buttons("Apply a New Patch, Rollback, Restart"), to offer more guidance around when/how they are used.
In general changing button states depending on selection / state of a resource is hard to implement as it interfere with RBAC. That's the reason it is not done in the console in the current version. However I see the benefits behind it. I recommend to defer this feature to the next iteration.