Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
Description
When generating a check (/accounting/control/printChecks.pdf?paymentId=demo10000) following error is generated:
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31) [java] javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:32:31: "fo:table-cell" is missing child elements. Required content model: marker* (%block;)+ (See position 32:31); Screen XSL:FO text was: [java] <?xml version="1.0" encoding="UTF-8"?> [java] [java] [java] [java] <!-- Begin Template component://accounting/webapp/accounting/payment/PrintChecks.fo.ftl --> [java] [java] <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> [java] [java] <fo:layout-master-set> [java] [java] <fo:simple-page-master master-name="checks" [java] page-height="27.9cm" page-width="21.6cm"> [java] <fo:region-body/> [java] </fo:simple-page-master> [java] [java] </fo:layout-master-set> [java] [java] <fo:page-sequence master-reference="checks"> [java] <fo:flow flow-name="xsl-region-body"> [java] [java] <fo:block font-size="10pt" break-before="page"> <fo:table table-layout="fixed" width="100%"> [java] <fo:table-column column-width="100%"/> [java] <fo:table-body> [java] <fo:table-row height="8.85cm"> [java] <fo:table-cell> [java] [java] <fo:table table-layout="fixed" width="100%"> [java] <fo:table-column column-width="17.7cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-body> [java] <fo:table-row> [java] <fo:table-cell/> [java] <fo:table-cell> [java] <fo:block padding-before="2.2cm">4/25/06</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] <fo:table-row> [java] <fo:table-cell padding-before="0.8cm"> [java] <fo:block margin-left="3.0cm"> [java] Your Company Name Here [java] </fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding-before="0.8cm"> [java] <fo:block>**190.97</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] <fo:table-row> [java] <fo:table-cell number-columns-spanned="2"> [java] <fo:block padding-before="0.4cm" margin-left="1.3cm">****************************************************************************************************</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] <fo:table table-layout="fixed" width="100%"> [java] <fo:table-column column-width="100%"/> [java] <fo:table-body> [java] <fo:table-row height="9.3cm"> [java] <fo:table-cell> [java] [java] <fo:table table-layout="fixed" margin-left="5pt" margin-right="5pt" width="100%"> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-header> [java] <fo:table-row> [java] <fo:table-cell padding="3pt" number-columns-spanned="3" text-align="center"> [java] <fo:block text-align="center"> [java] Your Company Name Here [java] </fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt" number-columns-spanned="4" text-align="center"> [java] <fo:block text-align="center">4/25/06</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] [java] <fo:table-row> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Date</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Type</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Reference Number</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"><fo:block/></fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Original Amt.</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Balance Due</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Payment</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] [java] </fo:table-header> [java] <fo:table-body> [java] [java] [java] <fo:table-row> [java] <fo:table-cell padding="3pt" number-columns-spanned="6"> [java] <fo:block text-align="end">Check Amount</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block text-align="end">190.97</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] [java] <fo:table table-layout="fixed" width="100%"> [java] <fo:table-column column-width="100%"/> [java] <fo:table-body> [java] <fo:table-row height="9.3cm"> [java] <fo:table-cell> [java] [java] <fo:table table-layout="fixed" margin-left="5pt" margin-right="5pt" width="100%"> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-column column-width="3cm"/> [java] <fo:table-header> [java] <fo:table-row> [java] <fo:table-cell padding="3pt" number-columns-spanned="3" text-align="center"> [java] <fo:block text-align="center"> [java] Your Company Name Here [java] </fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt" number-columns-spanned="4" text-align="center"> [java] <fo:block text-align="center">4/25/06</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] <fo:table-row> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Date</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Type</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold">Reference Number</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"><fo:block/></fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Original Amt.</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Balance Due</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block font-weight="bold" text-align="right">Payment</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-header> [java] <fo:table-body> [java] [java] [java] <fo:table-row> [java] <fo:table-cell padding="3pt" number-columns-spanned="6"> [java] <fo:block text-align="end">Check Amount</fo:block> [java] </fo:table-cell> [java] <fo:table-cell padding="3pt"> [java] <fo:block text-align="end">190.97</fo:block> [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] </fo:table-cell> [java] </fo:table-row> [java] </fo:table-body> [java] </fo:table> [java] [java] </fo:block> [java] [java] </fo:flow> [java] </fo:page-sequence> [java] </fo:root> [java] <!-- End Template component://accounting/webapp/accounting/payment/PrintChecks.fo.ftl --> [java]
Attachments
Attachments
Issue Links
- is broken by
-
OFBIZ-6504 how to Create PDF with password Protected in Ofbiz
- Closed