[ https://issues.apache.org/jira/browse/OFBIZ-12915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Watford closed OFBIZ-12915. ---------------------------------- Fix Version/s: Upcoming Branch Resolution: Fixed > Error when exporting Comparative Income Statement report to PDF > --------------------------------------------------------------- > > Key: OFBIZ-12915 > URL: https://issues.apache.org/jira/browse/OFBIZ-12915 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: Upcoming Branch > Reporter: Daniel Watford > Assignee: Daniel Watford > Priority: Major > Fix For: Upcoming Branch > > > When exporting the Accounting application's Comparative Income Statement > report to PDF, an error is displayed and the PDF is not produced: > {quote}The Following Errors Occurred: > Unable to transform FO file: org.apache.fop.apps.FOPException: > javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; > lineNumber: 222; columnNumber: 7; The element type "fo:block" must be > terminated by the matching end-tag "</fo:block>". > javax.xml.transform.TransformerException: org.xml.sax.SAXParseException; > lineNumber: 222; columnNumber: 7; The element type "fo:block" must be > terminated by the matching end-tag "</fo:block>" > {quote} > This error can be reproduced on demo-trunk at: [OFBiz: Accounting Manager: > (apache.org)|https://demo-trunk.ofbiz.apache.org/accounting/control/ComparativeIncomeStatements.pdf?period1FromDate=2008-12-31+18%3A00%3A00.000¤cyUomId=USD&period2GlFiscalTypeId=ACTUAL&period2FromDate=2008-12-31+18%3A00%3A00.000&period2ThruDate=2024-02-26+01%3A23%3A03.786&period1ThruDate=2024-02-26+01%3A23%3A03.786&organizationPartyId=Company&period1GlFiscalTypeId=ACTUAL] > The error does not occur for the same report on demo-stable at: > [ComparativeIncomeStatements.pdf > (apache.org)|https://demo-stable.ofbiz.apache.org/accounting/control/ComparativeIncomeStatements.pdf?period1FromDate=2009-12-31+18%3A00%3A00.000¤cyUomId=USD&period2GlFiscalTypeId=ACTUAL&period2FromDate=2009-12-31+18%3A00%3A00.000&period2ThruDate=2024-02-26+01%3A24%3A24.864&period1ThruDate=2024-02-26+01%3A24%3A24.864&organizationPartyId=Company&period1GlFiscalTypeId=ACTUAL] > -- This message was sent by Atlassian Jira (v8.20.10#820010)