Loading...
 
Skip to main content

Tracker import from console throw error (Tabular import from HTML doesn't)

Status
Open
Subject
Tracker import from console throw error (Tabular import from HTML doesn't)
Version
23.x
Category
  • Regression
  • Usability
Feature
Console / Command Line
Trackers
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Since Tiki21 I use tabular import through the console to daily import and update items.
It went through with Tiki22 and worked fine for several month then a few month before Tiki23 it started to throw errors.

I updated to Tiki23 to check and it is the same.

It is interesting to note that the tabular import from the HTML front end doesn't throw any error and that in the end both import successfully all the items.

This is the error I have for the 13 items that are imported

Copy to clipboard
xxx:~/public_html$ php7.4 console.php tracker:import 20 ../biens/biens_avendre_24_10_2021.csv Importing tracker... Array to string conversion on line 141 of /home/elyseavenue/public_html/lib/core/Tracker/Tabular/Writer/TrackerWriter.php Array to string conversion on line 141 of /home/elyseavenue/public_html/lib/core/Tracker/Tabular/Writer/TrackerWriter.php Undefined index: status on line 2113 of /home/elyseavenue/public_html/lib/trackers/trackerlib.php ... <feedback>feedback: 13 tracker(s) item(s) updated </feedback>


Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7888
Created
Sunday 24 October, 2021 15:58:02 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Sunday 24 October, 2021 15:58:02 UTC


Show PHP error messages