Loading...
 
Skip to main content

Tracker plugin does not set default value (e.g. when modifying or prefilled), with patch

Status
Closed
Subject
Tracker plugin does not set default value (e.g. when modifying or prefilled), with patch
Version
5.x
Category
  • Consistency
  • Usability
  • Feature request
  • Less than 30-minutes fix
  • Patch
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
Ushindi Gedeon
Lastmod by
Ushindi Gedeon
Rating
(0)
Description
Any dynamic list or other drop-down list will not get its default value, when modifying the item, or when it gets prefilled (or when autosave value is available).
Solution

This is my suggestion

add this to wikiplugin_tracker.php, line ~850, to the end of the
Copy to clipboard
if (!empty($f['value'])) { // if it has an original or a suggested value, then set it as default value $flds['data'][$i]['defaultvalue'] = $f['value']; }
Workaround
Importance
7
Easy to solve?
8
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3112
Created
Tuesday 13 April, 2010 22:43:59 UTC
by Gergely
LastModif
Tuesday 02 June, 2026 08:24:53 UTC


Show PHP error messages