Cloned from: https://bugzilla.redhat.com/show_bug.cgi?id=1253443
Description of problem:
[root@master ~]# ipa vault-add vname --type=type_dne ipa: ERROR: invalid 'vault_type': Invalid vault type
Vault name: vname Type: type_dne
Version-Release number of selected component (if applicable): ipa-server-4.2.0-4.el7.x86_64
How reproducible: always
Steps to Reproduce: 1. ipa-server-install 2. ipa-kra-install 3. kinit admin 4. ipa vault-add vname --type=type_dne
Actual results: error message displayed but, adds vault even though the type is invalid
Expected results: does not add vault
Additional info:
Linked to Bugzilla bug: https://bugzilla.redhat.com/show_bug.cgi?id=1253443 (Red Hat Enterprise Linux 7)
imho vault type should be StrEnum which would fix this issue
master:
ipa-4-2:
Metadata Update from @spoore: - Issue assigned to pvoborni - Issue set to the milestone: FreeIPA 4.2.1
Login to comment on this ticket.