From 2438ac1d0df95dda69e1239f1a4184269395ef0e Mon Sep 17 00:00:00 2001 From: Elio Schmutz Date: Fri, 20 Dec 2024 13:40:04 +0100 Subject: [PATCH] Extend export_subtree_bundle: Fix export due to changed schema fields --- opengever/maintenance/scripts/export_subtree_bundle.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opengever/maintenance/scripts/export_subtree_bundle.py b/opengever/maintenance/scripts/export_subtree_bundle.py index ba3fb04..144cba4 100644 --- a/opengever/maintenance/scripts/export_subtree_bundle.py +++ b/opengever/maintenance/scripts/export_subtree_bundle.py @@ -106,8 +106,10 @@ PROPERTIES_NOT_REQUIRED = { 'opengever.dossier.businesscasedossier': [ + '_id', '_participations', '_old_paths', + '_journal_entries', 'dossier_type', 'sequence_number', 'relatedDossier', @@ -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',