Commit bc120f55 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix the bug which mae impossible to change skins inside an activity.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19138 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cf4ccd70
...@@ -789,6 +789,9 @@ class ActivityTool (Folder, UniqueObject): ...@@ -789,6 +789,9 @@ class ActivityTool (Folder, UniqueObject):
my_self = self my_self = self
LOG('CMFActivity.ActivityTool.invoke', INFO, 'Strange: invoke is called outside of acquisition context.') LOG('CMFActivity.ActivityTool.invoke', INFO, 'Strange: invoke is called outside of acquisition context.')
message(my_self) message(my_self)
if my_self is not self: # We rewrapped self
for held in my_self.REQUEST._held:
self.REQUEST._hold(held)
def invokeGroup(self, method_id, message_list): def invokeGroup(self, method_id, message_list):
# Invoke a group method. # Invoke a group method.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment