Bug 386483 - CSV Importer doubles every colon for non-table fields
Summary: CSV Importer doubles every colon for non-table fields
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: 3.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
Depends on:
Reported: 2017-11-03 00:44 UTC by Robby Stephenson
Modified: 2017-11-03 00:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.1.1


Note You need to log in before you can comment on or make changes to this bug.
Description Robby Stephenson 2017-11-03 00:44:46 UTC
I'm using Tellico 3.1 on openSUSE Leap 42.3 with KDE Plasma 5.  Importing a CSV file for my custom collection causes every colon character (:) to become doubled (::).  If, for example, I have a string for a time value in the CSV as 4:12, in Tellico it will become 4::12.  URLs beginning with http:// become http:://.

I am using a colon as the column delimiter for tables and the tables import correctly.  It is simple text and URL fields that are affected.  It looks like a bug unless there is some way to escape it in the import file.

From https://forum.kde.org/viewtopic.php?f=200&t=142712
Comment 1 Robby Stephenson 2017-11-03 00:50:34 UTC
Git commit 89163d42ebae4b1a67fba77ab0518088c494533d by Robby Stephenson.
Committed on 03/11/2017 at 00:49.
Pushed by rstephenson into branch 'master'.

Fix a bug that duplicated colons in CSV importer

The importer was not verifying the field was a table before replacing
the table column delimiter with the default delimiter in the imported

M  +4    -0    ChangeLog
M  +4    -2    src/translators/csvimporter.cpp