Created attachment 1382000 [details] checkbox_wrong_behavior Description of problem: JavaScript/UI bug of related to custom group. Version-Release number of selected component (if applicable): 5.9.0.16.20180109204148_7ac9852 (also on upstream master.20171206231308_1bfd713) How reproducible: 100% Steps to Reproduce: 1. Navigate to Automation > Automate > Customization > Buttons accordion 2. In VM and Instance option, add custom group 3. While adding group, select `Display on Button` and save it 4. Select that button and edit it, try to uncheck and save that form Actual results: If I have checked checkbox; I want to unchecked and save it , I am not able to do that. Expected results: Should save the form if any changes are made (like unchecked or check) Additional info: Found this behavior is with every custom group options in button accordion (Automation>Automate>Customization>Buttons) Custom button working good (respective to check, unchecked behavior only)
Please note BZ1535021 somehow related to this issue but different than current one. Opened new bz since it cover large permutations.
*** Bug 1535021 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq-ui-classic/pull/3383
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/958518ba0b08c640086705c226822390a50a719a commit 958518ba0b08c640086705c226822390a50a719a Author: Brian McLaughlin <bmclaugh> AuthorDate: Wed Jan 31 16:17:58 2018 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Feb 12 08:09:29 2018 -0500 Fix logic to correctly check 'display on button' checkbox https://bugzilla.redhat.com/show_bug.cgi?id=1535010 app/views/shared/buttons/_ab_list.html.haml | 2 +- app/views/shared/buttons/_group_form.html.haml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/86f69d107bf3684ce3cd273fdb39bb796c418823 commit 86f69d107bf3684ce3cd273fdb39bb796c418823 Author: Brian McLaughlin <bmclaugh> AuthorDate: Mon Feb 12 08:45:15 2018 -0500 Commit: Brian McLaughlin <bmclaugh> CommitDate: Mon Feb 12 08:45:15 2018 -0500 Refactoring https://bugzilla.redhat.com/show_bug.cgi?id=1535010 app/views/shared/buttons/_ab_list.html.haml | 2 +- app/views/shared/buttons/_group_form.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
'Display on Button' checkbox is now responsive against 'Save' button. I can save and edit group and button forms now. Verified on: 5.10.0.17.20180927011235_1b5cf54 Thanks!