Browse Source

fix small broken code in move_recursively action

Guénaël Muller 6 years ago
parent
commit
049cab0ec9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      tracim/lib/core/content.py

+ 5 - 1
tracim/lib/core/content.py View File

@@ -963,7 +963,11 @@ class ContentApi(object):
963 963
         self.save(item, do_notify=False)
964 964
 
965 965
         for child in item.children:
966
-            with new_revision(child):
966
+            with new_revision(
967
+                session=self._session,
968
+                tm=transaction.manager,
969
+                content=child
970
+            ):
967 971
                 self.move_recursively(child, item, new_workspace)
968 972
         return
969 973