You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/03/09 08:24:00 UTC

[jira] [Commented] (CAMEL-17767) Empty header uri parameter interpreted as fixed column ""

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

Claus Ibsen commented on CAMEL-17767:
-------------------------------------

What is the use case for setting header = blank

> Empty header uri parameter interpreted as fixed column ""
> ---------------------------------------------------------
>
>                 Key: CAMEL-17767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17767
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-csv
>    Affects Versions: 3.14.2
>            Reporter: Benjamin Graf
>            Priority: Minor
>
> Since the last "big" change to camel-csv in Camel 3.12.0 an empty header in uri like
> {code:java}
> <to uri="dataformat:name:marshal?header=&delimiter=;"/>
> {code}
> is interpreted as fixed column empty String.
> Maybe do empty String check while creating marshaler in ([Link|https://github.com/apache/camel/blob/2b28e5386b964f17562960402faece012aab03d5/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvMarshaller.java#L62])



--
This message was sent by Atlassian Jira
(v8.20.1#820001)