Loading...
 
Skip to main content

TRACKER Plugin Replaces Field Values with Default Values for Drop Down Fields

Status
Closed
Subject
TRACKER Plugin Replaces Field Values with Default Values for Drop Down Fields
Version
3.x
Category
  • Consistency
  • Usability
Feature
Trackers
Wiki Plugin (extends basic syntax)
Submitted by
Pascal St-Jean
Lastmod by
Pascal St-Jean
Rating
(0)
Description
  1. Create a Tracker with a drop down field that has several choices. #Enter one choice twice in Succession to get a "default" value.
  2. Enter an item using the tracker, but select a non-default value in the drop down field.
  3. Create two wiki pages each with one of the plugins as defined below...

{TRACKERLIST(trackerId=3,showlinks=y,sort_mode=created_desc,url="tiki-index.php?page=Tracker+Plugin+Test&itemId")}{TRACKERLIST}

{TRACKER(trackerId=3,url="tiki-view_tracker.php?trackerId=3")}{TRACKER}

Notice that the TRACKERLIST plugin, has a "url" argument that will display the page with the TRACKER plugin. The "url" has "&itemId" at the end of the url, so that clicking any item, will open the page with the TRACKER plugin, and you should see all the fields filled in with their correpsonding values (from that item).

For the dropdown menu, the value displayed is NOT the one that was originally selected by the user, but rather the default value.

The TRACKER Plugin is great for "Insert New" functionality, but cannot be used for "Edit Item" functionality, as fields with default value settings cause an overwrite of the user's input for those fields.

This situation prevents the user of the TRACKER plugin as a round-trip tool (insert with TRACKER > TRACKERLIST > edit with TRACKER), as the user's values are blown away and replaced with the default field values.

Note: values selected using "Category" field types are never selected using the TRACKER plugin to edit a TRACKER item. For some reason the TRACKER plugin does not pick up category values from category fields, although does allow inputing them.


Solution

Fixed since tracaker revamp in Tiki 7

See screenshot
Image

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2798
Created
Friday 09 October, 2009 18:18:27 UTC
by Unknown
LastModif
Thursday 21 November, 2013 17:24:51 UTC


Show PHP error messages