Loading...
 
Skip to main content

Plugin Tracker doesn't return feedback any more after inserting item if url param is provided

Status
Open
Subject
Plugin Tracker doesn't return feedback any more after inserting item if url param is provided
Version
16.x
Category
  • Error
  • Regression
  • Usability
Feature
Trackers
Resolution status
Partially solved
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Plugin Tracker doesn't return feedback any more after inserting item if url param is provided

According to the documentation of Plugin Tracker ( https://doc.tiki.org/PluginTracker#Examples ), this should be working:

Copy to clipboard
{TRACKER(trackerId="1" fields="1:3:4" action="Send")} !!! Thanks! Thank for your contribution! {TRACKER}


But if we send the user to a new page, the "thanks for your contribution" is not shown any more. And we could have some way to get the user see that feedack even when the user is sent to another page after inserting the item. Something could be added reusing the function that lindon added recently (months) to trunk to have a common way to display feedback to users after their actions.

Some discussion in the devel list can help elucidate how to handle this implementation.

Isse reproduced here in a 15.x instance as a reference:
http://xavi-9794-6059.show.tikiwiki.org/tiki-index.php?page=Bug_Tracker
u: admin
p: 12345

Solution

Added feedback after form submission containing the url parameter in trunk r59374. Backporting to 15.x will be more involved as session/smarty variables must be send over.


Thanks Victor. A step in the right direction, and no need to backport to 15.x since this is not critical for any of the funded projects we have, and it's not a clean and easy one (you'd better follow on other fixes/dev.work requested)
In addition, the message can contain wiki syntax, that needs to be parsed before display, which is still the default behavior when param "url=..." is not involved. See updated example above:

Copy to clipboard
{TRACKER(trackerId="1" fields="1:3:4" action="Send")} !!! Thanks! Thank for your contribution! {TRACKER}

Note the "!!! Thanks"

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6059
Created
Friday 29 July, 2016 12:40:41 UTC
by Xavier de Pedro
LastModif
Friday 05 August, 2016 15:05:45 UTC


Show PHP error messages