Skip to content

Commit

Permalink
fix(portal_repository): retrieve-rollback changes made in wrapping pa…
Browse files Browse the repository at this point in the history
…rent to current obj
  • Loading branch information
nileshgulia1 committed Feb 18, 2025
1 parent c9ff225 commit 847ccd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/CMFEditions/CopyModifyMergeRepositoryTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ def _retrieve(self, obj, selector, preserve, countPurged):
inplace=False,
countPurged=countPurged,
)
saved.rollback()
wrapped = wrap(vd.data.object, aq_parent(aq_inner(obj)))
saved.rollback()
return VersionData(wrapped, vd.preserved_data, vd.sys_metadata, vd.app_metadata)

def _recursiveRetrieve(
Expand Down

0 comments on commit 847ccd1

Please sign in to comment.