Loading...
 
Skip to main content

PluginTracker: The itemId parameter no longer works (to load data for that tracker item)

Status
Closed
Subject
PluginTracker: The itemId parameter no longer works (to load data for that tracker item)
Version
26.x
27.x
Regression from 25.x to 26.x
master
Category
  • Regression
  • Dogfood on a *.tiki.org site
Feature
Trackers
Wiki Plugin (extends basic syntax)
Resolution status
Fixed or Solved
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Bruno Kambere
Lastmod by
Bruno Kambere
Rating
(0)
Description

Using PluginTracker (with specific fields or not) and setting a itemId should load on the wiki page the fields with the existing values for this item. It was working fine on Tiki25.

I couldn't create a 26x show instance so I tested at: https://next.tiki.org/Test
With the following code:

Copy to clipboard
{tracker trackerId="22" fields="147:204:149:155" itemId="6597"}

Please not this code will be wiped by the process that updates tiki.org to next.tiki.org periodically.

Image
Image

Workaround

More a workaround, use the tracker-update modal url, something like:

Copy to clipboard
<a href="tiki-tracker-update_item?trackerId=2&itemId={$row.object_id}&modal=1" class="text-info click-modal justify-content-end modaltofixbug"><i class="fas fa-edit fa-sm"></i></a>


And then to the class "modaltofixbug" whatever you need to hide what you want to hide...
but we need a fix.

Importance
8
Easy to solve?
8
Priority
64
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8501
Created
Saturday 12 August, 2023 14:43:40 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Tuesday 05 September, 2023 05:09:02 UTC


Show PHP error messages