You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tony Landicho (JIRA)" <ji...@apache.org> on 2016/06/24 22:40:16 UTC

[jira] [Comment Edited] (CAMEL-4446) camel-bindy - Marshaling using CSV will insert wrong char separator if using an escaped separator char such as a pipe

    [ https://issues.apache.org/jira/browse/CAMEL-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348592#comment-15348592 ] 

Tony Landicho edited comment on CAMEL-4446 at 6/24/16 10:39 PM:
----------------------------------------------------------------

With version:2.15.2, the bug remains.  The escape characters are still added into the Header Columns when marshaling back the object. 
e.g. 

Separator = "\\|"

Output: 
Header 1\|Header2\|... 

Pls. advise when we can expect the fix.  

Thanks.




was (Author: tlandich):
With version:2.15.2, the bug remains.  The escape characters are still added into the Header Columns when marshaling back the object. 
e.g. 

Separator = "\\|"

Output: 
Header 1\|Header2\|... 



> camel-bindy - Marshaling using CSV will insert wrong char separator if using an escaped separator char such as a pipe
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4446
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4446
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-bindy
>    Affects Versions: 2.8.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.8.2, 2.9.0
>
>
> When using bindy in CSV format with a separator in the model as "\\|" to denote a pipe character, then it does not work consistent for marshal and unmarshal. In marshal it will insert \ as separator, but it should use | instead.
> See nabble
> http://camel.465427.n5.nabble.com/bindy-different-behavior-between-marshal-and-unmarshal-with-pipe-separator-tp4798488p4798488.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)