Hi,
Following a doc example, on a fresh TW21 docker install from tiki, I create 2 trackers:
1st has fields: name, sports (linked, multiple values)
2nd has fields: sport
entering 2 sports and 1 name with 2 practiced sports for the dude.
Now go to tiki-ajax_services.php?controller=tabular&action=create
and if you click "Initialize this format with the current tracker fields" (http://127.0.0.1/tiki-ajax_services.php?controller=tabular&action=edit&tabularId=4&prefill=1)
you get an error 382 according to Apache:
Fatal error: Uncaught Error: Call to a member function getMode() on null in /var/www/html/lib/core/Services/Tracker/TabularController.php:700 Stack trace: #0 /var/www/html/lib/core/Services/Tracker/TabularController.php(104): Services_Tracker_TabularController->getSchema(Array, true) #1 /var/www/html/lib/core/Services/Broker.php(108): Services_Tracker_TabularController->action_edit(Object(JitFilter)) #2 /var/www/html/lib/core/Services/Broker.php(28): Services_Broker->attemptProcess('tabular', 'edit', Object(JitFilter)) #3 /var/www/html/tiki-ajax_services.php(51): Services_Broker->process('tabular', 'edit', Object(JitFilter)) #4 {main} thrown in /var/www/html/lib/core/Services/Tracker/TabularController.php on line 700
I tried using old export function and, instead of flattening the values to a comma list, it exports to CSV with "Array" in place of the linked values.
I also tried to make a tabular, then manually change field definition to "multiple values" and it threw an error about "Field mode" and it removes the field.
Maybe I do it wrong, how to export (and import) linked fields with multiple values?
It looks like mode is in working for item_list relating to a item_link field, but it only shows the first value
Best fix qould be with option like item_list field where you can specify format like %0,%1 or %0,%1 or else, to choose the way to export and import nested values.
Thank you!
EDIT: Visit
http://philmzo-11996-7378.show2.tikiwiki.org/tiki-ajax_services.php?controller=tabular&action=edit&tabularId=1&prefill=1
for the problem on TW21
The URL for the show2.tiki.org instance that demonstrates this bug is at: http://philmzo-11996-7378.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://philmzo-11996-7378.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://philmzo-11996-7378.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotThe URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://philmzo-11996-7378.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://philmzo-11996-7378.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://philmzo-11996-7378.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshot