Project

Profile

Help

Issue #2704

closed

Catalog entries for existing content units with old-style storage path get created with new-style storage path.

Added by jortel@redhat.com about 7 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.12.2
Platform Release:
2.13.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 18
Quarter:

Description

Catalog entries for existing content units with old-style storage path get created with new-style storage path. The code creating the catalog entry blindly calls set_storage_path() on the unit to ensure that the path is set. For RPMs and ISOs that already exist and are fetched from the DB, this overwrites the _storage_path of the unit (in memory) just before inserting the catalog entry.

This only affects installation that do not run the storage-path migration introduced in 2.8.

Also available in: Atom PDF