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
- Description
We have an issue with Tabular when a value of a field = "0"
And then how it is seen using : tiki-pluginlist_experiment.phpTo reproduce.
I have a CSV with the following:
ID,NUMBER
111,1
112,1
113,0
114,0
115,0
116,5
117,4Tabular 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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