Commit 816473bb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

CMFActivity: call setSite() in invokeGroup().

otherwise Localizer will not work in grouped activity.
parent de9580f0
......@@ -1327,6 +1327,8 @@ class ActivityTool (Folder, UniqueObject):
expanded_object_list = sum(message_dict.itervalues(), [])
try:
if expanded_object_list:
# Store site info
setSite(self.getParentValue())
traverse = self.getPortalObject().unrestrictedTraverse
# FIXME: how to apply security here?
# NOTE: The callee must update each processed item of
......
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