Bug #27101
closedhammer content view version export does not returns correct repository.
Description
Description of problem:
If we try to export the content-view version which has some repositories with download policy "immediate" and some has "on-demand". In this case, it fails with the error -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Could not export the content view:
Error: All exported repositories must be set to an immediate download policy and re-synced.
The following repositories need action:
Red Hat Satellite Tools 6.5 for RHEL 7 Server RPMs x86_64, Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It should only return the repositories name in need action those download policy is "On-demand".
Actual results:
Return all the repositories in the content-view version.
Expected results:
Should only report the repositories with download policy "On-demand".
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/655 added
Updated by Anonymous over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|938591cd73153e73480c381c09d5ebf0d47792c2.
Updated by Ian Ballou over 5 years ago
- Target version set to Katello 3.13.0
- Triaged changed from No to Yes