Commit 43fb9e88 authored by Jérome Perrin's avatar Jérome Perrin

don't activate "deliver" on bug line, pass transition immediatly, otherwise...

don't activate "deliver" on bug line, pass transition immediatly, otherwise some conflict error may occur (and the notification message may be sent twice)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24867 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5572c2c9
...@@ -131,8 +131,8 @@ for to_url in to_url_list:\n ...@@ -131,8 +131,8 @@ for to_url in to_url_list:\n
# Bug Message not send email it self.\n # Bug Message not send email it self.\n
#context.activate(activity=\'SQLQueue\').sendMailHostMessage(mail_message)\n #context.activate(activity=\'SQLQueue\').sendMailHostMessage(mail_message)\n
\n \n
context.activate(activity=\'SQLQueue\').deliver()\n
context.setData(mail_message)\n context.setData(mail_message)\n
context.deliver()\n
\n \n
if download:\n if download:\n
return mail_message\n return mail_message\n
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</item> </item>
<item> <item>
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <string></string> </value> <value> <string>BugEvent_buildMessage</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</item> </item>
<item> <item>
<key> <string>script_name</string> </key> <key> <string>script_name</string> </key>
<value> <string>BugEvent_buildMessage</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
......
420 421
\ No newline at end of file \ No newline at end of file
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