#1640 [ipa webui] inconsistency in enabling "delete" buttons
Closed: Fixed None Opened 12 years ago by dpal.

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

Description of problem:
On the HBAC Rules page, where the rules are listed, if no rule is selected, the "Delete" button is not enabled, and cannot be clicked on.
But edit a Rule, and Delete button is enabled in the available sections - regardless of, if an object is selected to be deleted or not, or even if there is no object to be selected to delete.

One can click on this button...but then - there is no message indicating that something should be selected for deletion for this button to do anything.

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. Edit an HBAC Rule
2. In the Who section, without selecting a user to delete, can click on the Delete button

Actual results:
Nothing happens


Expected results:
Either this should not be enabled, or a message should be popped to indicate what the user is missing (that an object should be selected for deletion)

Additional info:

I'm unable to reproduce the problem in the latest code. However, we can change the behavior to be more consistent: the Delete button should always be disabled if there are no entries selected.

Fixed in:
- master: 9c4b004
- ipa-2-1: 75a859d

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

7 years ago

Login to comment on this ticket.

Metadata