Skip to content

Commit

Permalink
Fix actor also for the current revision
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea authored and pbauer committed Sep 29, 2023
1 parent 4150c29 commit 5c1780f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/collective/exportimport/export_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ def export_revisions(self, item, obj):
item["exportimport.versions"][version_id]["changeActor"] = principal
# current changenote
item["changeNote"] = history_metadata.retrieve(-1)["metadata"]["sys_metadata"]["comment"]
item["changeActor"] = history_metadata.retrieve(-1)["metadata"]["sys_metadata"]["principal"]
return item


Expand Down

0 comments on commit 5c1780f

Please sign in to comment.