#2597 Unhelpful error message is displayed when no value is given in --revocation-reason optional argument with "ipa cert-revoke"
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=808099 (Red Hat Enterprise Linux 6)

Description of problem:
When no value is provided to --revocation-reason argument in ipa cert_revoke,
following unhelpful error message displayed.

[root@ipa63server ipa-cert]# ipa cert-revoke 5 --revocation-reason=
ipa: ERROR: an internal error has occurred
[root@ipa63server ipa-cert]

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

[root@ipa63server ipa-cert]# rpm -q ipa-server
ipa-server-2.2.0-5.el6.x86_64
[root@ipa63server ipa-cert]#

How reproducible:
Always

Steps to Reproduce:
1.Install IPA server
2.Try to revoke certificate with 'ipa cert-revoke' and provide no value to
--revocation-reason optional argument.
[root@ipa63server ipa-cert]# ipa cert-revoke 5 --revocation-reason=
ipa: ERROR: an internal error has occurred
[root@ipa63server ipa-cert


Actual results:
Got following error message
"ipa: ERROR: an internal error has occurred"

Expected results:
Some helpful error message should be displayed

Metadata Update from @mkosek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/04

7 years ago

Login to comment on this ticket.

Metadata