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.
The URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://xavi-9794-6051.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://xavi-9794-6051.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://xavi-9794-6051.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |