Project

Profile

Help

Issue #1955

closed

Need a migration to ensure that Distribution units have a default value of '' for variant.

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

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

Also available in: Atom PDF