Quotes within a string importing to CSV connector

Beau Harrison (Senior Product Software Engineer) 10 years ago updated by anonymous 9 years ago 2

A string surrounded by double quotes written to csv


get written to the file as


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.

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.

Confirmed fixed.