#1854 [ipa webui] Deleting a host in HBAC Rule without selecting it, throws a browser error instead of an IPA error
Closed: Fixed None Opened 10 years ago by rcritten.


Description of problem:
For an HBAC rule, you can choose to add a Host in "Accessing" section. Now if you select to delete this without selecting this Host, an error is thrown as indicated in the attachment

Applies to Sudo page as well

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add and edit HBAC rule
2. Go to its Accessing section, and click to Add a Host
3. Without choosing this Host, click on Delete

Actual results:
Error is thrown - select entries to be removed, with title - The page at <servername> says - (with a firefox icon)

Expected results:
Message is good, but should be an IPA error with a green title

Additional info:

In ticket #1640 the behavior was changed such that the Delete link will be disabled if there is nothing selected, so this error dialog will never appear.

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

5 years ago

Login to comment on this ticket.