Croway opened a new pull request, #30005: URL: https://github.com/apache/camel/pull/30005
JIRA: [CAMEL-26975](https://issues.apache.org/jira/browse/CAMEL-26975) - An empty or blank `header` (`setHeader("")`, `dataformat:csv:marshal?header=`) became one fixed column named `""`, so a Map row was marshalled as `""` and an empty line. Regression of CAMEL-17767 since CAMEL-21734 (4.10.1/4.11.0). - `getActiveFormat` now handles a blank header like no header: the header of the format is kept, Map rows are written with their own keys, and unmarshalling with `useMaps` reads the header from the first line instead of failing with "A header name is missing". - Javadoc of `getHeader`/`setHeader` updated. Tests: `CsvEmptyHeaderTest` (fails on main, passes with the fix; all camel-csv tests pass). _Claude Code on behalf of Federico Mariani_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
