Actions
Issue #1955
closedNeed a migration to ensure that Distribution units have a default value of '' for variant.
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.8.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 3
Quarter:
Description
The Distribution model object defaults the variant to ''. However, units created before conversion to mongoengine can have a variant of null. To ensure proper comparison, a migration needs to be written to make the unit keys consistent in the DB.
Actions
Ensure variant is set on distribution units. closes #1955