You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (Jira)" <ji...@apache.org> on 2026/07/10 14:16:00 UTC
[jira] [Commented] (OFBIZ-12223) CSV-Exports generate empty trailing columns
[ https://issues.apache.org/jira/browse/OFBIZ-12223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095325#comment-18095325 ]
Arun Patidar commented on OFBIZ-12223:
--------------------------------------
Created PR for this.
PR: [https://github.com/apache/ofbiz-framework/pull/1450]
To resolve this:
* Introduced a tracker state and a helper macro inside CsvFormMacroLibrary.ftl.
* Reset the comma tracker at the start of each row inside and .
* Configured cell-level open macros (, , etc.) to prepend a comma starting from the second cell of each row.
* Removed the hardcoded trailing commas from individual field macros (such as , , and ) to decouple column layout delimiters from field content rendering.
> CSV-Exports generate empty trailing columns
> -------------------------------------------
>
> Key: OFBIZ-12223
> URL: https://issues.apache.org/jira/browse/OFBIZ-12223
> Project: OFBiz
> Issue Type: Bug
> Components: ALL APPLICATIONS
> Affects Versions: Trunk, Upcoming Branch, 22.01.01
> Reporter: Benjamin Jugl
> Assignee: Arun Patidar
> Priority: Major
>
> As encountered in OFBIZ-12175 the CSV-Exports that utilize the <grid> element in Screens renders a trailing "," at the end of each line.
> These exports are also used to generate files that should potentially be imported again. The imports on the other hand can (and should) not deal with this format-error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)