[ https://issues.apache.org/jira/browse/OFBIZ-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15331853#comment-15331853 ]
Arvind Singh Tomar commented on OFBIZ-6947: ------------------------------------------- Hello [~jacques.le.roux] The issue was due to missing child element which is failing on validation. Earlier we were using fop-1.1.jar and now it is updated to fop-2.0.jar which by default validates the markup. It is same as https://issues.apache.org/jira/browse/OFBIZ-7090 I have added the missing child elements in the macro which were causing the validation to fail and providing the updated patch. > Inventory report throws an error > -------------------------------- > > Key: OFBIZ-6947 > URL: https://issues.apache.org/jira/browse/OFBIZ-6947 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Trunk > Reporter: Pierre Smits > Labels: facility, inventory, pdf > Attachments: OFBIZ-6947_trunk.patch, OFBIZ-6947_trunk_2.patch > > > When executing the print pdf function in > https://demo-trunk-ofbiz.apache.org/facility/control/ViewFacilityInventoryByProduct > the following error is thrown: > {code} > The Following Errors Occurred: > Unable to transform FO file: org.apache.fop.apps.FOPException: > org.apache.fop.fo.ValidationException: null:80:115: "fo:table-cell" is > missing child elements. Required content model: marker* (%block;)+ (See > position 80:115) javax.xml.transform.TransformerException: > org.apache.fop.fo.ValidationException: null:80:115: "fo:table-cell" is > missing child elements. Required content model: marker* (%block;)+ (See > position 80:115) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)