0
Fixed

Quotes within a string importing to CSV connector

Beau Harrison 5 years ago • updated by anonymous 4 years ago 2

A string surrounded by double quotes written to csv

"text"

get written to the file as

""text""

and imported back into the connector as the first.

This string

<Email address="aaagu3@domain.com" />

gets written to the csv with double quotes

<Email address=""aaagu3@domain.com"" />

however when imported back to the connector the double quotes persist.

Affected Versions:
Fixed by Version:

Unify.Framework.IO.CsvEnumerable which reads CSVs expects double quotes to be escaped only if they are wrapping the attribute value. The CSV communicator class CsvConnectorEntityTwoWayFactory, however, was escaping all double quotes. I changed this to be inline with what CsvEnumerable expects.