Missing fields in tracker plugin templates
- Status
- Open
- Subject
- Missing fields in tracker plugin templates
- Version
- 18.x Regression
- Category
- Regression
- Feature
- Trackers
- Resolution status
- New
- Submitted by
- Jean-Marc Libs
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
When I create a wiki page to edit trackers using PluginTracker associated with a template and the fields option contains at least one field number, any other fields I put in the template is empty and can not be filled. On item creation, it works.
This is a big issue when the fields are meant to be displayed and not filled (itemlist fields, etc)
This seems to be a general issue: I also can't show the values which I should be able to put in the template according to this page: https://doc.tiki.org/Pretty-Tracker#Syntax_tips
Copy to clipboard{$f_created}: created date {$f_status_input}: status input field {$f_status}: status (output) {$f_itemId}: the item id {$f_lastmodif}: last modified date (this will display unix date, for human readable date look below) {$itemoff}: the iteration number of each item {$tr_offset}: the offset of the item, i.e. this is the nth item of the total number of x items
Same issue with sending emailsCopy to clipboard{TRACKER(trackerId="5" fields="72" action="Submit" overwrite="y" itemId="{ {itemId} }" showdesc="n" url="/Concours" tpl="projet-soumission-Initiative_stratégique.tpl" email="noreply@xxx.ca|createdBy|projet-soumis-membre.tpl" emailformat="text" )}{TRACKER}
Will not recognize and include {$f_49} or {$mail_item_desc} (this should show the title field, which happens to be 49 also) intemplates/mail/projet-soumis-membre.tplBut :
Copy to clipboard{TRACKER(trackerId="5" fields="72:49" action="Submit" overwrite="y" itemId="{ {itemId} }" showdesc="n" url="/Concours" tpl="projet-soumission-Initiative_stratégique.tpl" email="noreply@xxx.ca|createdBy|projet-soumis-membre.tpl" emailformat="text" )}{TRACKER}Will replace {$f_49} with its value but still not {$mail_item_desc}
This is an issue because the fields to display in the mail are not always the same as are present in the tracker edition form. For instance, I want people to only update the field 72 (a checkbox) and get a confirmation email but all the rest was already filled on other forms.
Tiki18svn Version 64923
- Importance
- 10 high
- Easy to solve?
- 1 difficult
- Priority
- 10
- 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
- 6519
- Created
- Thursday 04 January, 2018 23:23:52 UTC
by Jean-Marc Libs - LastModif
- Thursday 04 January, 2018 23:52:55 UTC