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
Kasra Jamshidi
erp5
Commits
138e495e
Commit
138e495e
authored
10 years ago
by
Tristan Cavelier
Browse files
Options
Download
Email Patches
Plain Diff
BugEvent doesn't notify if no recipient is provided
parent
6ddef70c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml
.../bug_event_workflow/scripts/BugEvent_sendNotification.xml
+1
-0
No files found.
bt5/erp5_forge/WorkflowTemplateItem/portal_workflow/bug_event_workflow/scripts/BugEvent_sendNotification.xml
View file @
138e495e
...
@@ -117,6 +117,7 @@ for message in bug_message_list:\n
...
@@ -117,6 +117,7 @@ for message in bug_message_list:\n
message.getStartDate(), text )\n
message.getStartDate(), text )\n
\n
\n
recipient_list = bug_message.BugLine_getRecipientValueList()\n
recipient_list = bug_message.BugLine_getRecipientValueList()\n
if not recipient_list: return\n
\n
\n
portal = bug_message.getPortalObject()\n
portal = bug_message.getPortalObject()\n
portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n
portal.portal_notifications.sendMessage(sender=bug_message.getSourceValue(),\n
...
...
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