Bug 1532201
Summary: | RHSM validate/save fails to save settings correctly if you click register too fast. | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | luke couzens <lcouzens> |
Component: | UI - OPS | Assignee: | Martin Hradil <mhradil> |
Status: | CLOSED ERRATA | QA Contact: | Mike Shriver <mshriver> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.9.0 | CC: | abellott, bdunne, cpelland, dajohnso, hkataria, lavenel, mhradil, mpovolny, mshriver, obarenbo, ohadlevy, simaishi, smallamp, yrudman |
Target Milestone: | GA | Keywords: | PrioBumpQA |
Target Release: | 5.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | webui:upgrade:black | ||
Fixed In Version: | 5.10.0.11 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-07 23:00:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
luke couzens
2018-01-08 11:00:13 UTC
New commits detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/e1f81401153cdc2a3b0d94f7836ed5f6114ec8c4 commit e1f81401153cdc2a3b0d94f7836ed5f6114ec8c4 Author: Martin Hradil <mhradil> AuthorDate: Mon Jan 8 10:05:16 2018 -0500 Commit: Martin Hradil <mhradil> CommitDate: Mon Jan 8 10:05:16 2018 -0500 miqAjax* - accept observe:true in options to use miqObserveQueue this allows miqAjaxButton to be queued in the same queue used by miq-observe, thus waiting for any miq-observe requests to complete before submitting the form https://bugzilla.redhat.com/show_bug.cgi?id=1532201 app/assets/javascripts/miq_application.js | 9 +- 1 file changed, 8 insertions(+), 1 deletion(-) https://github.com/ManageIQ/manageiq-ui-classic/commit/c78ba1efdae882e6397f63c752226c8a63c1265c commit c78ba1efdae882e6397f63c752226c8a63c1265c Author: Martin Hradil <mhradil> AuthorDate: Fri Aug 10 12:14:32 2018 -0400 Commit: Martin Hradil <mhradil> CommitDate: Fri Aug 10 12:14:32 2018 -0400 x_edit_buttons - support observe param to use observe queue for save/add buttons https://bugzilla.redhat.com/show_bug.cgi?id=1532201 app/views/layouts/_x_edit_buttons.html.haml | 8 +- 1 file changed, 5 insertions(+), 3 deletions(-) https://github.com/ManageIQ/manageiq-ui-classic/commit/f3b9b791e8db0f9c4145fe395f9046b2ff97d4c4 commit f3b9b791e8db0f9c4145fe395f9046b2ff97d4c4 Author: Martin Hradil <mhradil> AuthorDate: Fri Aug 10 11:50:36 2018 -0400 Commit: Martin Hradil <mhradil> CommitDate: Fri Aug 10 11:50:36 2018 -0400 rhn_edit - use observe queue for validate & save validate: this is a straight transform from link_to + RJS remote: true, to a button using miqAjaxButton except adding observe:true so that the validate action never happens before any pending edit actions (auth_credentials2 is only ever used from that single Red Hat Updates edit form) save: just enabling observe=true for x_edit_buttons in settings_rhn_edit Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532201 app/controllers/ops_controller.rb | 1 + app/views/layouts/_auth_credentials2.html.haml | 20 +- 2 files changed, 10 insertions(+), 11 deletions(-) Tested in CFME 5.10.0.31.20190108221820_a0968c8 The validate button has been replaced with MiqAjaxButton, and the existing MiqAjaxButton items on the subscription form have been updated with observeQueue boolean included. I tested immediate registration of both the default repositories, and a modified repository list. Registration was successful. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212 |