web stats
CSV Transformer Removing Quotes - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 08-22-2014, 12:19 PM
zap_me zap_me is offline
Mirth Newb
Join Date: Apr 2013
Posts: 10
zap_me is on a distinguished road
Default CSV Transformer Removing Quotes

Hello All,

I have a Mirth channel that reads a csv, queries MSSQL for patient email addresses, then writes a new csv with the queried emails. It all works with one exception... the final data file doesn't have the double quotes (") and I can't figure out where they went or how to get them back.

Here is some dummy data I have been reading:

And here is the final data after Mirth transformer:

As best as I can tell my transformer javascript isn't causing this. When I remove the transformer code I am still missing the quotes. If I change the Destination Template to Raw I get the quotes back but the output doesn't include the emails. I changed all the Data Types to Delimited Text and used Default settings.

What am I missing that would allow the final, encoded, transformed data to include quotes around all the elements?

Thank you!

Last edited by zap_me; 08-22-2014 at 12:36 PM.
Reply With Quote
Old 08-22-2014, 12:21 PM
narupley's Avatar
narupley narupley is offline
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

That's a known issue right now: MIRTH-2400.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote
Old 08-22-2014, 12:25 PM
zap_me zap_me is offline
Mirth Newb
Join Date: Apr 2013
Posts: 10
zap_me is on a distinguished road

Thank you for the very quick update! I didn't think to check on known issues and assumed I had missed something.
Reply With Quote
Old 05-05-2016, 05:50 AM
tpkinc tpkinc is offline
Mirth Newb
Join Date: Jun 2015
Posts: 14
tpkinc is on a distinguished road

Are there any updates or suggested workaround for this? I have a basic comma, quote delimited file that needs to maintain the surrounding quotes

ex. 1, "ABC", "TESTLAST", "TESTFIRST", 200, 300, "NOTE: INSERT HERE"

I need a source transformer to query DB to decide which rows from source file to filter. But once I add a transformer it looks like this.


When I move the Transformer to destination it fixes the formatting but I can't channel map or figure out how to pass to filter the filter flag.


I am running..
Mirth Connect Server
Java version: 1.7.0_51

Reply With Quote

csv, encoded, quotes

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 04:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation