#6546 Delete option shouldn't be available for hosts applied to view.
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1399133

Description of problem: Delete option shouldn't be available for hosts applied
to view.

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


How reproducible:


Steps to Reproduce:
1. Install IPA server
2. Create a view, override local ipa user and add to the view.
3. Apply the view to the host.
4. Now login to UI and navigate to IPA Server --> ID Views --> Select View -->
Hosts Tab --> Select Host checkbox to which view is applied.

Actual results:
There is delete button which is activated and when we try to delete the host it
gives the below message

Are you sure you want to delete selected entries?
client.testqe.test

Click Delete.

IPA Error 905: CommandError
unknown command 'idview_remove_member'

http_error_log
[Mon Nov 28 16:34:18.954799 2016] [:error] [pid 14146] ipa: INFO:
[jsonserver_session] admin@TESTQE.TEST: idview_remove_member: CommandError

Expected results:
Fix the error message.


Additional info:

Proper fix should contain also tests.

master:

  • 17392b0 WebUI: Hide incorrectly shown buttons on hosts tab in ID Views

ipa-4-4:

  • cd62808 WebUI: Hide incorrectly shown buttons on hosts tab in ID Views

Metadata Update from @pvoborni:
- Issue assigned to pvomacka
- Issue set to the milestone: FreeIPA 4.4.3

6 years ago

Login to comment on this ticket.

Metadata