Description of problem:
For HBAC Rule, a selected checkbox stays on after Update, but think in cases below - shouldn't be.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Click to edit an HBACRule
2. Add a user/host
3. Update, and return to list of HBACRules
4. Click to edit this rule again
5. Select checkbox for Users - which selects all users in this list
6. Select to delete all users
7. Update, and return to list of HBACRules
8. Click to edit this rule again
The checkbox against Users stays on
The checkbox against Users should be off
similar behiour seen for other checkboxes in this oage for groups/hosts/hostgroups
Verified using ipa-server-2.1.2-2.el6.x86_64
Checkbox gets cleared, when entries are deleted
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Cause: Selecting a check box for users, groups, hosts or host groups when deleting a list of objects in an HBAC rule in the Web UI.
Consequence: The check box remains checked when the operation is complete and the entry is re-edited.
Fix: Clear the selection when refreshing the page.
Result: When re-editing a rule previous selections are cleared.
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.