Skip to content

Commit 80f61f1

Browse files
committed
Reverted:: Getting error while generating ApprovedProductRequirementsReport PDF (OFBIZ-11845)
Integration tests don't pass. Here is the error: Recoverable error on line 145 column 98 SXCH0003: org.apache.fop.fo.ValidationException: null:145:98: "fo:table-body" is not a valid child of "fo:table-body"! (See position 145:98) The initial "fixed" error is: org.apache.fop.fo.ValidationException: null:88:232: "fo:table-row" is not a valid child of "fo:table"! (See position 88:232) Another error exists at ApprovedProductRequirementsByVendorReport: org.apache.fop.fo.ValidationException: null:95:2: "fo:table-cell" is not a valid child of "fo:table-cell"! (See position 95:2) For now I'm not quite even sure how you get to ApprovedProductRequirementsReport When you approve a requirement it does not show at ordermgr/control/ApprovedProductRequirements I thought the error could be due to a missing requirementId. But using ordermgr/control/ApprovedProductRequirementsReport?requirementId=10000 you get the same error. It seems related to OFBIZ-6354, but could be rather an issue with ApprovedProductRequirements screen where <set field="genericLinkTarget" value="ApprovedProductRequirementsReport"/> is set Same for ApprovedProductRequirementsByVendorReport I did not get further for now
1 parent e6bcec2 commit 80f61f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/common-theme/template/macro/FoFormMacroLibrary.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ under the License.
8282
<#macro renderMultiFormClose></#macro>
8383

8484
<#macro renderFormatListWrapperOpen formName style columnStyles><fo:table table-layout="fixed" border="solid black" <@getFoStyle style/>><#list columnStyles as columnStyle><fo:table-column<#if columnStyle?has_content> <@getFoStyle columnStyle/></#if>/></#list></#macro>
85-
<#macro renderFormatListWrapperClose formName><fo:table-body><fo:table-row><fo:table-cell><fo:block/></fo:table-cell></fo:table-row></fo:table-body></fo:table></#macro>
85+
<#macro renderFormatListWrapperClose formName><fo:table-row><fo:table-cell><fo:block/></fo:table-cell></fo:table-row></fo:table-body></fo:table></#macro>
8686

8787
<#macro renderFormatHeaderOpen><fo:table-header></#macro>
8888
<#macro renderFormatHeaderClose></fo:table-header><fo:table-body></#macro>

0 commit comments

Comments
 (0)