#4743 No intuitive error if view already applied to a host
Closed: Fixed None Opened 9 years ago by jhrozek.

Trying to apply a view to a host that is already part of the view doesn't raise any user-friendly error. Checking which host belongs to which view is then limited to ipa idview-show --show-hosts. I would expect some better error or info message when applying the host than:

ipa idview-apply --hosts=client.example.com testview
--------------------------
Applied ID View "testview"
--------------------------
  hosts: 
---------------------------------------------
Number of hosts the ID View was applied to: 0
---------------------------------------------

master:

  • fdd7b79 idviews: Complain if host is already assigned the ID View in idview-apply

ipa-4-1:

  • 12f6969 idviews: Complain if host is already assigned the ID View in idview-apply

Metadata Update from @jhrozek:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.1.3

7 years ago

Login to comment on this ticket.

Metadata