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.