Loading...
 
Skip to main content

Linking ItemsList to ItemsList fails

Status
Closed
Subject
Linking ItemsList to ItemsList fails
Version
8.x
Category
  • Error
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
johndpar
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

I tried this on the community forum but got no response.

I've found a problem with interlinked trackers that shows up when you look at the items.

Tracker "Course Type" has fields
F1 Course Type Name: Text
F2 Course Duration: Text

Tracker "Scheduled Courses" has fields
F3 Course Reference: Text
F4 Course Type Name: Item Link to F1
F5 Course Duration: Items List to F2 using F1,F4
F6 Course Start Date: Date

Tracker "Attendee Registrations" has fields
F7 Course Reference: Item Link to F3
F8 Course Duration: Items List to F5 using F3,F7
F9 Course Start Date: Items List to F6 using F3,F7

This mostly works, except when I view the items in the third tracker field F8 is blank

This is an ItemsList to an ItemsList to a Text field.
At each level there is only one result - the second tracker works fine


In addition, a TrackerList or TrackerItemField that should return the value of F8 also fails and while a Trackerlist that should return F7 works fine, a Trackeritemfield that should return F7 does not work.


Having delved into the code it looks like the cases where a tracker list points to a tracker list is just not handled well. There is clearly a need to recursively resolve the value to display (and how to display it) but this is not being done.

I'll continue to work on the code and see if I can solve it but wondered it anyone more familiar with the code is working on this or knows how to fix it quickly.

Many thanks

John

Solution
Workaround
Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4094
Created
Monday 09 January, 2012 18:25:05 UTC
by johndpar
LastModif
Friday 03 July, 2026 13:22:57 UTC


Show PHP error messages