Bug #24273
closedrestrict_composite_view flag prevents CCV promotion even when component versions have been promoted
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1597340
Description of problem:
The restrict_composite_view flag is preventing CCV versions from being promoted even when all component CV versions have already been promoted to the target environment.
Version-Release number of selected component (if applicable):
Reproduced on 6.3.1
Attempting to reproduce on 6.3.2 as well, but hitting an issue with the 'add_export_distributor' portion of the upgrade currently. I will update the BZ if/when I can reproduce on 6.3.2.
How reproducible:
Easy
Steps to Reproduce:
1. Create a CCV
2. Promote all component CV versions to an LCE
3. Observe that the CCV cannot be promoted to the same LCE when 'restrict_composite_view' is set to True
Actual results:
500 Internal Server Error
Expected results:
CCV Promotes without error
Additional info:
Disabling 'restrict_composite_view' allows the CCV to promote, but it should be able to promote even with 'restrict_composite_view' enabled when the component CVs have been promoted to the target LCE.
Updated by Jonathon Turel over 6 years ago
- Target version set to Katello 3.7.1
- Triaged changed from No to Yes
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7544 added
Updated by Anonymous over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|7034112539920b72df5b31506fe85aa86bf5c13f.