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
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ def _load_split(self, entry: MigrationEntry, recid):
priority="critical",
)

# Load access grants + communities for the public record
self.parent_load_cls(
public_entry, self.migration_logger, public_record_state
).load(published_record=public_records[-1], uow=uow)

# Original-dump persistence for the public half.
self._save_original_dumped_record(
public_entry, public_record_state, uow
Expand Down
1 change: 0 additions & 1 deletion cds_migrator_kit/rdm/records/load/entities/ep_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def identifiers(self, identifiers):
def build(self) -> MigrationEntry:
"""Return a load entry with split files and modified metadata."""
split = _split_copy(self.entry)
split.pop("ep_approval", None)
split["versions"] = self._build_versions(split)
self._apply_metadata(split)
self._apply_entry_modifications(split)
Expand Down
Loading