diff --git a/opengever/maintenance/scripts/export_subtree_bundle.py b/opengever/maintenance/scripts/export_subtree_bundle.py index a05f4f7..b2b8593 100644 --- a/opengever/maintenance/scripts/export_subtree_bundle.py +++ b/opengever/maintenance/scripts/export_subtree_bundle.py @@ -501,7 +501,7 @@ def is_parent_or_child_of(self, context_path, paths): return False def serialize_review_state(self, obj): - if obj.portal_type == 'ftw.mail.mail': + if obj.portal_type in ['opengever.document.document', 'ftw.mail.mail']: # The WF state 'mail-state-active' is not currently allowed per the # JSON schema for documents.json. And since documents and mails # have a one-state workflow anyway, any review_state value for them