Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Klaus Wölfel
erp5
Commits
816473bb
Commit
816473bb
authored
7 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Download
Email Patches
Plain Diff
CMFActivity: call setSite() in invokeGroup().
otherwise Localizer will not work in grouped activity.
parent
de9580f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
product/CMFActivity/ActivityTool.py
product/CMFActivity/ActivityTool.py
+2
-0
No files found.
product/CMFActivity/ActivityTool.py
View file @
816473bb
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment