Project

General

Profile

Bug #35501

Content View Versions generated by Export are still listed in Composite page

Added by Partha Aji 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

  1. Export a few repos/library
  2. Create a composite content view
  3. In the composite details of this click the "Content Views" tab.
  4. Notice how `Export-*` versions are listed there.

Expected:
No export generated cvvs are to displayed (since they are not meant to be used with Composites).

Associated revisions

Revision 3b23b993 (diff)
Added by Partha Aji 3 months ago

Fixes #35501 - Hides generated component cvvs in composite (#10265)

When we ask for a list of component cvv's available for a composite, the
backend api also returns componenet cvvs that are from export/import
generated content views (like export-library/export-repository) etc.
These versions are not meant to be included in the composite.

This commit changes this behavior by filtering out generated content
views all together.

Also adds validation to not add generated content view versions to a
composite

History

#1 Updated by Partha Aji 3 months ago

  • Bugzilla link set to 2125022

#2 Updated by The Foreman Bot 3 months ago

  • Assignee set to Partha Aji
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10265 added

#3 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.7.0 added

#4 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ian Ballou 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.7.0

Also available in: Atom PDF