Commit f9f1915a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Eteri

CMFActivity: call setSite() in invokeGroup().

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