Plugin tracker send emails with the wrong template for some of the emails defined in the params
https://doc.tiki.org/PluginTracker#Advanced_plugin_usage_2_multiple_recipients_multiple_templates_
I defined this type of plugin call:
{TRACKER(trackerId="1" action="Submit" fields="1:2:3:4:5" email="noreply@example.com|5,cc1@example.com,cc2@example.com|wiki:tpl_report_own_request,wiki:tpl_report_new_request,wiki:tpl_report_new_request")} some text {TRACKER}
The issue is that the emails sent to cc1 at example.com and cc2 at example.com contain the first template (wiki:tpl_report_own_request), and not the next one corresponding to them (wiki:tpl_report_new_request).
Reproduced at:
http://xavi-9794-6051.show.tikiwiki.org/tiki-index.php?page=Bug_Tracker
First http auth:
u: show
p: show
tiki credentials:
u: admin
p: 12345
Change the emails set as recipients in that email param of the plugin Tracker of that "Bug_Tracker" page. And add a new bug report as anonymous for instance. The 2 emails set hardcoded in the plugin tracker param email should get their emails with template "new" (tpl_report_new_request) but they get them also with template "own" (tpl_report_own_request )
Fixed hopefully in trunk in r59302? Will backport if working
Thanks jonnyb, confirmed it works as expected in trunk, and I backported it myself to 15.x in r59312.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |