Project

Profile

Help

Issue #1897

closed

catalog entries not created for pre-existing units

Added by mhrivnak almost 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
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

Also available in: Atom PDF