[
https://issues.apache.org/jira/browse/CAMEL-12676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino reassigned CAMEL-12676:
----------------------------------------
Assignee: Andrea Cosentino
> Strange results w/ Bindy (header, list, footer)
> -----------------------------------------------
>
> Key: CAMEL-12676
> URL: https://issues.apache.org/jira/browse/CAMEL-12676
> Project: Camel
> Issue Type: Bug
> Components: camel-bindy
> Affects Versions: 2.22.0
> Reporter: Christian Scharmach
> Assignee: Andrea Cosentino
> Priority: Minor
>
> Hello!
> I was trying to marshal a CSV file with following format:
> HeaderColumn:headerColumn:headerColumn
> BodyColumn;BodyColumn;BodyColumn;BodyColumn;BodyColumn
> BodyColumn;BodyColumn;BodyColumn;BodyColumn;BodyColumn
> FooterColumn;FooterColumn
> [etc]
> where Body can be 1 or two lines.
> I created a CsvEntryHeader, CsvEntryFooter, CsvEntryBody file and a
> CsvPackage which shall hold them all together. But I am getting strange
> results as soon as I add a CsvEntryBody.
> Most likely because all of them have different count of columns.
> I *expect* it to be:
> HEADER;agency1;00.01;1
> BODY
> FOOTER;agency1;;1
> but it *actually is*
> HEADER;agency1;00.01;1
> BODY;agency1;;1
> FOOTER;agency1;00.01;1
> Test-Case:
> https://github.com/c9pr3/bindy-bug-test
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)