Actions
Issue #1897
closedcatalog entries not created for pre-existing units
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.2
Platform Release:
2.8.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 2
Quarter:
Description
When syncing a repo with download policy of on_demand, if it associates units to the repo that were already in pulp's DB, the sync does not create catalog entries. It should create catalog entries at least for any units where downloaded=False.
To reproduce:
- create a repo with on_demand and sync it
- see catalog entries for those units in the DB
- delete the repo
- see there are no catalog entries for those units in the DB
- re-create the same repo with on_demand and sync it
- see that there are no catalog entries for those units in the DB
Actions
Add catalog entries based on unit association instead of creation. closes #1897