Actions
Bug #39309
closedMissing validation to prevent CC deletion when used by ACS
Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Credentials
Target version:
Description
Description of problem:
When deleting a ContentCredential used by a Product or Repository, the user is blocked from the deletion with appropriate error message (like “Cannot delete record because of dependent root_repositories”).
This does not apply when the ContentCredential is used by an ACS (the CC is deleted immediately), which is little inconsistent with the previous behaviour.
How reproducible:
Always
Is this issue a regression from an earlier version:
No, it’s reproducible in the old page too.
Steps to Reproduce:
Create a ContentCredential od Cert type.
Create an ACS using the credential from 1.
Delete the Content Credential.
Actual behavior:
Deletion succeeds.
Expected behavior:
It should fail with an error message like “Cannot delete record because of dependent ACSes”
Updated by The Foreman Bot 2 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11737 added
Updated by Vladimir Sedmik 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|81ba97437249b39ac2459b7fb7322c0e2a29a138.
Updated by Quinn James about 2 months ago
- Target version changed from Katello 5.0.0 to Katello 4.21.0
Actions