You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2024/02/25 18:22:00 UTC

[jira] [Closed] (OFBIZ-12914) PDF (Apache FOP) and CSV drop-down rendering lists all drop-down options

     [ https://issues.apache.org/jira/browse/OFBIZ-12914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Watford closed OFBIZ-12914.
----------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

> PDF (Apache FOP) and CSV drop-down rendering lists all drop-down options
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-12914
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12914
>             Project: OFBiz
>          Issue Type: Bug
>          Components: themes
>    Affects Versions: Upcoming Branch
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> Rendering of drop-down field widgets for FOP and CSV screens incorrectly includes all options available for that drop-down rather than the current value for that field.
> This behaviour can be observed in the Balance Sheet PDF report from the accounting application. Comparing demo stable to trunk:
>  * Stable: [BalanceSheet.pdf (apache.org)|https://demo-stable.ofbiz.apache.org/accounting/control/BalanceSheet.pdf?glFiscalTypeId=ACTUAL&organizationPartyId=Company&thruDate=2024-02-26+01%3A28%3A37.741]
>  * Trunk: [BalanceSheet.pdf (apache.org)|https://demo-trunk.ofbiz.apache.org/accounting/control/BalanceSheet.pdf?glFiscalTypeId=ACTUAL&organizationPartyId=Company&thruDate=2024-02-25+22%3A58%3A00.943]
> Note: The trunk rendering issue with the _renderSubmitField_ FTL macro is being addressed by OFBIZ-12778.
> Proposed fix is to only render the description for a drop-down field's current value for CSV and FO rendering. The relevant macro is _renderDropDownField_ in files:
>  * CsvFormMacroLibrary.ftl
>  * FoFormMacroLibrary.ftl
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)