#3503 ipa dnszone-del missing summary message
Closed: Fixed None Opened 11 years ago by akrivoka.

[akrivoka@vm-106 ~]$ ipa dnszone-del example.com
[akrivoka@vm-106 ~]$

The zone is correctly deleted, but there is no summary message displayed to user. There should be a message similar to the ones displayed when other objects are deleted.

E.g:

[akrivoka@vm-106 ~]$ ipa user-del ana
------------------
Deleted user "ana"
------------------
[akrivoka@vm-106 ~]$

The problem with dnsrecord_del is somewhat deeper. Delete commands usually inherit from LDAPDelete, but dnsrecord_del inherits from LDAPUpdate, so it doesn't look like a standard delete command. To remedy this, it should use output.standard_delete for its output and also exclude the --all and --raw flags.

There is a similar problem in sudorule_{add,remove}_option commands. They inherit from LDAPQuery but should look like standard update commands, which means they should use output.standard_entry for their output and include the --all and --raw flags.

Metadata Update from @akrivoka:
- Issue assigned to akrivoka
- Issue set to the milestone: FreeIPA 3.2 - 2013/04 (Beta)

7 years ago

Login to comment on this ticket.

Metadata