Skip to content

Commit

Permalink
Extend export_subtree_bundle: Fix export due to changed schema fields
Browse files Browse the repository at this point in the history
  • Loading branch information
elioschmutz committed Dec 20, 2024
1 parent b188d86 commit 0a41b5e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions opengever/maintenance/scripts/export_subtree_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@

PROPERTIES_NOT_REQUIRED = {
'opengever.dossier.businesscasedossier': [
'_id',
'_participations',
'_old_paths',
'_journal_entries',
'dossier_type',
'sequence_number',
'relatedDossier',
Expand All @@ -117,15 +119,18 @@
'_old_paths',
],
'opengever.repository.repositoryfolder': [
'_id',
'_old_paths',
],
'opengever.document.document': [
'_id',
'_old_paths',
'sequence_number',
'relatedItems',
'original_message_path',
],
'ftw.mail.mail': [
'_id',
'_old_paths',
'relatedItems', # mails don't have relatedItems
'sequence_number',
Expand Down

0 comments on commit 0a41b5e

Please sign in to comment.