Bug #34383
closedIncremental update with --propagate-all-composites makes new CVV but with no new content
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2049799
Description of problem:
When a composite content view is using a certain version of a component cv (not latest), and that component cv version is incrementally updated with the --propagate-all-composites flag, a new incremental cv version will be created on the composite but it will receive no new content. The component cv will get a new incremental version as it should, but it also gets the proper content.
Version-Release number of selected component (if applicable):
Katello 4.0+
How reproducible:
Always
Steps to Reproduce:
1. Sync some repo
2. Create two component CVs with filters to remove some content and publish
3. Create a composite CV that uses only the version published in step (2)
4. Incrementally update a component CV version from step 2 with --propagate-all-composites=true
5. See that the composite gets a new version, but the new content is not there. It will have the same content count as the previous version.
Actual results:
The new incremental composite CV version gets none of the incremental content
Expected results:
The new incremental composite CV version should get the content specified in the incremental update command
Additional info:
This is a regression from Katello 3.18 (without Pulp 3 at least).
Also, in 4.0+, there is no longer a report that the composite CV got a new version in hammer.