#1639 [ipa webui] Checkbox stays checked after deleting a list of objects
Closed: Fixed None Opened 12 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=730713

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):
ipa-server-2.0.99-9.20110811T0301zgite6d0612.el6.x86_64

How reproducible:
always


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

Actual results:
The checkbox against Users stays on

Expected results:
The checkbox against Users should be off


Additional info:
similar behiour seen for other checkboxes in this oage for groups/hosts/hostgroups

It might make more sense to uncheck the 'Select/Unselect All' checkbox automatically in both cases: after deleting all users (no more users to unselect) and after opening a new HBAC rule (no users selected initially).

The load() in IPA.table_widget can be modified to uncheck the select_all_checkbox.

- master: 4a72593893f9037aafb8549e342c14f8bf34e1ae
- ipa-2-1: 9363260ca0d10cfeff902f7241c731680074550d

Metadata Update from @dpal:
- Issue assigned to pvoborni
- Issue set to the milestone: FreeIPA 2.1.1 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata