Bug #35442
closedSyncable exports not properly validated
Description
Description of problem:
Syncable exports are only available for yum and file repos. However the code tries to syncably export ansible repos also.
Found in - Katello 4.6
Steps to Reproduce:
1. Create and sync an ansible repo
2. Export the ansible repo syncably via the following command `hammer content-export complete repository --id=<ansible id> --format=syncable`
Actual results:
Misleading error along "This repo is not marked immediate and hence cant be exported"
Expected results:
Cannot Sync Ansible. Only yum or file is available
Additional info:
On a library export or a content view with a yum, file, ansible repositories the syncable export complains the same and ignores files and ansible.
We'd like it to ignore ansible with a better message but export file and yum.
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10254 added
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/863 added
Updated by Ian Ballou over 2 years ago
- Target version set to Katello 4.7.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.7.0 added
Updated by Partha Aji over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|2166e5e34c2013f419036c9f24f1dfcffef8e475.