Red Hat Bugzilla – Bug 814785
[ipa webui] Update Unsaved Changes for Netgroups
Last modified: 2013-02-21 04:11:22 EST
Description of problem: After a change is made to Netgroups, for example, change description, or add members, then go back to main page of Netgroups without saving. This brings up the "Unsaved Changes" window with options to Update, Reset or Cancel. Click on Update, changes are updated, but this window doesn't close, and take you back to list of Netgroups (as is the behaviour on rest of the pages) The "Unsaved XChnages" window is still up. Version-Release number of selected component (if applicable): ipa-server-2.2.0-10.el6.x86_64 How reproducible: always Steps to Reproduce: 1. Edit a Netgroup 2. Change description 3. Click on Netgroups - to go back to list of Netgroups, without saving 4. Window titled - "Unsaved Changes" prompts user to Update/Reset/Cancel 5. Reset takes you back to list of Netgroups, cancels stays on page 6. Hit Update Actual results: Changes are updated, but Window titled "Unsaved Changes" remains open, expecting user to hit a button again Expected results: Should update, and take user back to list of Netgroups Additional info:
Upstream has facet update enhancement implemented in https://fedorahosted.org/freeipa/ticket/2075 . This enhancement is not in RHEL (ipa-server-2.2.0.10-el6). New netgroup UI has a dependency on that facet event. This dependency should be removed. It would fix navigating to netgroup search page when netgroup details page is dirty. During investigation of this issue I found out, that when navigating to different entity, ie from netgroup to users, when facet is dirty it would happen too, even with that dependency removed. This problem is present also in HBAC, Sudo and SELinux details pages because they share the same program logic. It also messes up navigation a bit - old tab is highlighted instead of new one. This cross-entity navigation part is present in upstream as well.
Created attachment 579496 [details] Patch which removes dependency on facet update event. Attaching patch which removes the dependency on facet update event. It solves the reported issue - the part reported by Namita.
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Facet expiration issues were fixed upstream: master: bbe672a2aea1651a4a0eeca20b8339f0799f3431 18a6ab356a159a88c5aab014f344eb14a9d38c81 ipa-2-2: ebeb20e54eaae9b32c450514c8f8d1a84156866d 471e06fc3fd92fb4fcb501242030f4ff6b893ded
Verified using ipa-server-3.0.0-22.el6.x86_64 https://wiki.idm.lab.bos.redhat.com/qa/archive/ipa/webui/automation/firefox/test-output-ipa-server-3.0.0-QA/0114_64bit/full%20suite/IPANetgroupTestSuite/index.html --- Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Starting Test: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Asserted: Redirected back to Netgroup listing page Asserted: Actual value of 'bug814785_netgroup description' matches expected value: Netgroup description updated successfully Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description]) Test Passed: testNetgroupEdit_bug814785([NetgroupEdit_bug814785, bug814785_netgroup, bug814785_netgroup description])
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. http://rhn.redhat.com/errata/RHSA-2013-0528.html