Created attachment 520044 [details]
Description of problem:
while creating the drift, if user hits cancel button in between ( while creating) "Add" button got disabled.
Please refer the screen shot attached herewith.
Version-Release number of selected component (if applicable):
Build Number: 3003087
Steps to Reproduce:
1.Login into RHQ
2.Navigate to 'Drift->Configuration' tab of a platform resource and click on Add button.
3.Click on the 'Cancel' button.
Add button is disabled.
Add button should be enabled.
If user is goes to another tab or leaves that UI and come back to that "configuration" tab or by refreshing the page, then that Add button will be enabled.
Created attachment 520341 [details]
Similar kind of issues found at several places where user is dealing with following actions.
Create Child----> and cancel
import resource --- and cancel
While doing this following buttons are getting disabled
Delete, Import, Create child, Uninventory, Refresh.
Please refer the attached screenshot.
Was this always like this? I think something changed. Looking at this... Something to do with wizards exiting.
This looks like a regression due to the new Table footer control
disablement put in place to prevent subsequent button clicks while a
button action is already executing.
The problem is that that each button action is now responsible for
refreshing the encompassing view when the button action is complete. In
other words, the wizards now need to, on cancel/completion, ensure a
table refresh. Most button actions already are doing this but
certain code paths, like wizard cancel, need to handle this situation.
Looking at fix solution...
master commit 85882c6e0e00d5d788032d9c4192577c21e4fcc6
Regression due to new footer disablement in Table, on footer action. The
footer actions are now responsible for footer re-enablement upon action
completion (or as soon as it is safe). This commit fixes various instances
of the problem when canceling out of wizards. At the moment there are
no other known occurrences since most actions do perform some sort of
Table refresh on completion.
Test Notes: Fixed for Group creation, Drift config creation, Child resource create
and import, bundle creation wizards.
I verified buttons which are associated with wizard cancel/completion actions which does table refresh. Now I'm seeing buttons are getting enabled properly.
I had tested according to test note , and all are working fine.
Verified on this following build
Build Number: 044113e
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE