Project

General

Profile

Actions

Bug #27101

closed

hammer content view version export does not returns correct repository.

Added by Suraj Patil over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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".

Actions

Also available in: Atom PDF