mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-16 23:11:04 -05:00
TickTick exports could contain non-numeric values in columns Vikunja parses as integers (Priority, taskId, parentId). gocsv's strconv.ParseInt then failed, aborting the entire import and surfacing as an internal server error reported to Sentry (e.g. parsing "p1": invalid syntax). Numeric ID columns now fall back to 0 for unparseable values instead of failing the import. The Priority column, which was previously parsed but never carried over to the imported task, is now mapped onto the task and accepts both the plain numeric form (0, 1, 3, 5) and the "pN" form (p1, p2, p3). Closes #2822
774 B
774 B
| 1 | Date: 2026-02-27+0000 | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | Version: 7.1 | |||||||||||||||||||||||
| 3 | Status: 0 Normal 1 Completed 2 Archived | |||||||||||||||||||||||
| 4 | Folder Name | List Name | Title | Kind | Tags | Content | Is Check list | Start Date | Due Date | Reminder | Repeat | Priority | Status | Created Time | Completed Time | Order | Timezone | Is All Day | Is Floating | Column Name | Column Order | View Mode | taskId | parentId |
| 5 | Work | Project Beta | Task with non-numeric priority | TEXT | A task whose priority column is p1 | N | p1 | 0 | 2026-02-15 09:30:00 | -1099511627776 | Europe/Berlin | false | list | 1 | ||||||||||
| 6 | Work | Project Beta | Task with non-numeric ids | TEXT | A task with garbage in the id columns | N | 0 | 0 | 2026-02-10 08:00:00 | 0 | Europe/Berlin | false | false | list | abc | xyz |