Plugin tracker send emails with the wrong template for some of the emails defined in the params
- Status
- Closed
- Subject
- Plugin tracker send emails with the wrong template for some of the emails defined in the params
- Version
- 15.x
16.x - Category
- Error
- Feature
- Trackers
- Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Xavier de Pedro
- Rating
- Description
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:
Copy to clipboard{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: showtiki credentials:
u: admin
p: 12345Change 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 )
- Solution
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
. - Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6051
- Created
- Thursday 28 July, 2016 12:22:03 UTC
by Xavier de Pedro - LastModif
- Friday 29 July, 2016 12:11:55 UTC