On Tiki23 I set a CUSTOMSEARCH plugin to display a list of tracker items in a table output template with some actions buttons for each rows.
{DIV(type="span" class="click-modal")}[tiki-tracker-update_item?trackerId=22&itemId={display name="object_id"}&modal=1|{icon name="edit" iclass="text-warning mx-2 click-modal"}]{DIV}
It work just fine.
But if I try the same on a List or ListExecute plugin, the "&" in the url are changed to "&" which is breaking the link. You have to add for the column "mode=raw".
Would be nice to have the (same) behaviour like in the CustomSearch plugin (no change)
Complete plugin code to reproduce.
{LISTEXECUTE()} {filter field="tracker_id" content="22"} {filter field="tracker_status" content="o OR p"} {OUTPUT(template="table")} {column label="Date" translatelabel="y" field="date" mode="raw"} {column label="Name" field="name" translatelabel="y" mode="raw"} {column label="Month" field="month" translatelabel="y"} {column label="" field="action"} {OUTPUT} {FORMAT(name="date")}{display name="tracker_field_productsboughtDate" format="date"}{FORMAT} {FORMAT(name="name")}{display name="tracker_field_productsboughtCustomer" format="objectlink"}{FORMAT} {FORMAT(name="month")}{display name="tracker_field_productsboughtMonthOrder"}{FORMAT} {FORMAT(name="action")} {DIV(type="span" class="click-modal small")}[tiki-tracker-update_item?trackerId=22&itemId={display name="object_id"}&modal=1}|{icon name="edit" iclass="text-primary mx-2 click-modal"}]{DIV} {DIV(type="span" class="click-modal small")}[tiki-tracker-insert_item?trackerId=11&modal=1}|{icon name="cash-register" iclass="text-success mx-2 click-modal"}]{DIV}{FORMAT} {ACTION(name="Close")} {step action="change_status" from="p" to="c"} {ACTION} {LISTEXECUTE}
Another example is the fact that most of the time the expected value for "field" if it is to be filled with a tracker field parameter must start with "tracker_field" but not for the plugin ListExecute modify-item parameters. This add confusion to people new to the plugin ListExecute.
{step action="tracker_item_modify" field="paymentsStage" method="add"}
The URL for the show2.tiki.org instance that demonstrates this bug is at: http://bsfez-11581-7823.show2.tiki.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://bsfez-11581-7823.show2.tiki.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 show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://bsfez-11581-7823.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotUnable 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 |