Bug 386483

Summary: CSV Importer doubles every colon for non-table fields
Product: [Applications] tellico Reporter: Robby Stephenson <robby>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 3.1.1

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
string.
FIXED-IN: 3.1

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

https://commits.kde.org/tellico/89163d42ebae4b1a67fba77ab0518088c494533d