Actions
Issue #2704
closedCatalog entries for existing content units with old-style storage path get created with new-style storage path.
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.
Actions
Ensure path in catalog entry matches unit storage path for existing units. closes #2704