[SOLVED] Unable to escape commas in a CSV

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
markfranklin
TestLink user
Posts: 2
Joined: Mon Dec 06, 2010 7:07 pm

[SOLVED] Unable to escape commas in a CSV

Post by markfranklin »

I am trying to import a set of requirements in a CSV file. In the scope, I attempted to escape commas being used for grammar (as opposed to delimitation) with double quotes. This resulted in the requirement containing double quotes and any requirements thereafter, being omitted during the import. Is this a TestLink bug? Is there a workaround? Is it even possible to import a set of requirements containing commas within the paragraph tags (<p></p>)?

Thanks,
-Mark
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Unable to escape commas in a CSV

Post by fman »

paste here several line of your file to understand what you have done
markfranklin
TestLink user
Posts: 2
Joined: Mon Dec 06, 2010 7:07 pm

Re: Unable to escape commas in a CSV

Post by markfranklin »

The problem was with my understanding of how to escape the comma.

What I did...
ENG-0001,Main Deflector,<p>Main deflector bla"," bla"," bla.</p>

What I should have done...
ENG-0002,Main Deflector,"<p>Main deflector bla, bla, bla.</p>"
Post Reply