Loading...
 
Skip to main content

Issue in tabular and pluginList when value if it equal "0" and a field is empty

Status
Open
Subject
Issue in tabular and pluginList when value if it equal "0" and a field is empty
Version
21.x Regression
22.x
Category
  • Upgrade Blocker
  • Usability
Feature
Import-Export
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

We have an issue with Tabular when a value of a field = "0"
And then how it is seen using : tiki-pluginlist_experiment.php

To reproduce.
I have a CSV with the following:
ID,NUMBER
111,1
112,1
113,0
114,0
115,0
116,5
117,4

Tabular import will create/update trackerItems as follow.

ID NUMBER
111 1
112 1
113
114
115
116 5
117 4


Which is wrong, empty is empty and 0 is 0. 😉

Then when using the tiki-pluginlist_experiment.php here what I got.
Where they were a value for the field NUMBER I see:
tracker_field_trackerNUMBER => "1"
tracker_field_trackerNUMBER => "Vendu"

Where they were a 0 => that became an empty value the field is not displayed at all...

Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7599
Created
Sunday 08 November, 2020 14:12:54 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Sunday 08 November, 2020 14:23:12 UTC


Show PHP error messages