diff --git a/product/CMFActivity/ActivityTool.py b/product/CMFActivity/ActivityTool.py index 76102648d26095ce059d7ede14256225e44cd65a..e53ebe4e1b3891639b8918eb71fa5c3b6c85ec27 100755 --- a/product/CMFActivity/ActivityTool.py +++ b/product/CMFActivity/ActivityTool.py @@ -398,7 +398,6 @@ class ActivityTool (Folder, UniqueObject): for m in message_list: try: obj = m.getObject(self) - object_list.append(obj) if m.hasExpandMethod(): for obj in m.getObjectList(self): path = obj.getPath() @@ -410,6 +409,7 @@ class ActivityTool (Folder, UniqueObject): if path not in path_dict: path_dict[path] = None expanded_object_list.append(obj) + object_list.append(obj) new_message_list.append(m) except ConflictError: raise