Bug #37993
closedContent view purge count is misleading
Description
Description of problem:
Using `hammer content-view purge -id <id> -organization-id 1` to delete old content version no longer works.
How reproducible:
Easy
Is this issue a regression from an earlier version:
Yes
Steps to Reproduce:
1. create a CV and publish 4 versions consequently
2. purge old versions(by default 3) with `hammer content-view purge -id <id> -organization-id 1`
Actual behavior:
No versions to delete.
Expected behavior:
The first 3 versions should be purged.
Business Impact / Additional info:
It seems like --count no longer works. Only --count 1 works though.
Looking at the code count is actually doing what it's supposed to it's the numbers of version to keep not purge
Updated by The Foreman Bot 3 months ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/968 added
Updated by Partha Aji 3 months ago
- Target version changed from Katello 4.15.0 to Katello 4.16.0
- Triaged changed from No to Yes
Updated by Chris Roberts 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|416b9a72354f7ae8ae47f3232220cd9d88a33590.
Updated by Ian Ballou about 2 months ago
- Target version changed from Katello 4.16.0 to Katello 4.15.0
Updated by The Foreman Bot about 2 months ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/976 added