Bug #21245
openPuppetCA Certificates can't be deleted unless they are signed first.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1373785
Description of problem:
List of PuppetCA certificates on one of capsules in Red Hat Satellite. If those certificates are signed then they can be deleted, however, if we use the drop-down arrow and try to delete them without signing them first then we get a message that says the certificate was successfully deleted but nothing actually changes.
Version-Release number of selected component (if applicable):
Satellite 6.x
How reproducible:
Steps to Reproduce:
1. Host is already registered to puppet.
2. In WebUI, Infrastructure--> Capsule--> Puppet CA--> Certificates--> list of certificates.
3. Delete the certificate without signing.
4. Message shows successfully deleted but the certificate still persists.
Actual results:
If we delete PuppetCA Certificates from the drop-down list without signing them first, message says that the certificate was successfully deleted but nothing actually changes.
Expected results:
PuppetCA Certificates should be allowed to delete on click of a delete button, even if they are not signed or if there is any programming logic for not to delete the certificate before signing then either hide the delete button or disable the delete button.
No data to display