Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES/1067.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed migration error in 0019_create_missing_metadata_artifacts.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ def create_missing_metadata_artifacts(apps, schema_editor):
package.metadata_sha256 = mismatched_sha256
packages_batch.append(package)

# Set the domain on the metadata artifact to match the package's domain
metadata_artifact.pulp_domain = package._pulp_domain

contentartifact = ContentArtifact(
artifact=metadata_artifact,
content=package,
Expand Down