Repository navigation
Fix import into a pulp instance that never saw the content - #2608
Merged
Merged
Conversation
Contributor
|
@vycius Could you rebase please? |
Importing an export into an empty target (a second instance or a fresh domain) failed and could corrupt other domains: - avatar_sha256=None was coerced to "" by the default CharWidget on import, tripping the metadata_sha256 digest check and failing the whole import. Declare the field with CharWidget(allow_blank=False). - Namespace, collection and deprecation rows were matched and looked up without regard to the target domain, hijacking rows from other domains. Scope import_id_fields and before_import_row lookups with the current domain. Adds a functional test importing an export into a freshly created domain, which is equivalent to a second, empty pulp instance. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
vycius
force-pushed
the
fix-export-import-fresh-instance
branch
from
September 24, 2026 18:01
4d3f2e2 to
879f560
Compare
Contributor
Author
Rebased on newest main. |
mdellweg
approved these changes
Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Importing an export into an empty target (a second instance or a fresh domain) failed and could corrupt other domains:
Adds a functional test importing an export into a freshly created domain, which is equivalent to a second, empty pulp instance.
closes #2609
📜 Checklist