[ https://issues.apache.org/jira/browse/OFBIZ-11845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147609#comment-17147609 ] Jacques Le Roux commented on OFBIZ-11845: ----------------------------------------- It works in stable (R17) which uses FOP 2.2. {noformat} 2020-06-29 07:51:24,694 |7.0.0.1-18009-exec-3 |ControlServlet |T| [[[ApprovedProductRequirementsReport(Domain:https://demo-stable.ofbiz.apache.org)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2020-06-29 07:51:24,702 |7.0.0.1-18009-exec-3 |RequestHandler |I| Rendering View [ApprovedProductRequirementsReport]. Hidden sessionId by default. 2020-06-29 07:51:24,705 |7.0.0.1-18009-exec-3 |ServiceDispatcher |T| Sync service [order/getUserPreferenceGroup] finished in [2] milliseconds 2020-06-29 07:51:24,710 |7.0.0.1-18009-exec-3 |ScreenFactory |I| Got 13 screens in 0.005s from: file:/home/ofbizDemo/branch17.12/applications/order/widget/ordermgr/RequirementScreens.xml 2020-06-29 07:51:24,737 |7.0.0.1-18009-exec-3 |ServiceDispatcher |T| Sync service [order/getRequirementsForSupplier] finished in [9] milliseconds 2020-06-29 07:51:24,743 |7.0.0.1-18009-exec-3 |FOP |D| target-resolution set to: 72.0dpi (px2mm=0.35277778) 2020-06-29 07:51:24,743 |7.0.0.1-18009-exec-3 |FOP |D| User configuration found for MIME type application/pdf 2020-06-29 07:51:24,743 |7.0.0.1-18009-exec-3 |FOP |D| User configuration found for MIME type application/pdf 2020-06-29 07:51:24,815 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:20) 2020-06-29 07:51:24,815 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:38) 2020-06-29 07:51:24,815 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:56) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:74) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:92) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:110) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:128) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:146) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:164) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:182) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:200) 2020-06-29 07:51:24,816 |7.0.0.1-18009-exec-3 |FOUserAgent |W| table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1) (See position 88:218) 2020-06-29 07:51:24,827 |7.0.0.1-18009-exec-3 |FOUserAgent |W| Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". 2020-06-29 07:51:24,827 |7.0.0.1-18009-exec-3 |FOUserAgent |W| Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". 2020-06-29 07:51:24,841 |7.0.0.1-18009-exec-3 |FOUserAgent |W| The contents of fo:block line 1 exceed the available area in the inline-progression direction by 5432 millipoints. (See position 98:2) 2020-06-29 07:51:24,841 |7.0.0.1-18009-exec-3 |FOUserAgent |W| The contents of fo:block line 1 exceed the available area in the inline-progression direction by 42768 millipoints. (See position 100:2) 2020-06-29 07:51:24,903 |7.0.0.1-18009-exec-3 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default 2020-06-29 07:51:24,905 |7.0.0.1-18009-exec-3 |ControlServlet |T| [[[ApprovedProductRequirementsReport(Domain:https://demo-stable.ofbiz.apache.org)] Request Done- total:0.211,since last([ApprovedProductR...):0.211]] {noformat} But changing in build.gradle bq. implementation 'org.apache.xmlgraphics:fop:2.3' // NOTE: in 2.4 dependencies are messed up. See https://github.com/moqui/moqui-fop/blob/master/build.gradle to bq. implementation 'org.apache.xmlgraphics:fop:2.2' does not help, weird... > Getting error while generating ApprovedProductRequirementsReport PDF > -------------------------------------------------------------------- > > Key: OFBIZ-11845 > URL: https://issues.apache.org/jira/browse/OFBIZ-11845 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk > Reporter: Chandan Khandelwal > Assignee: Chandan Khandelwal > Priority: Major > Attachments: Screenshot from 2020-06-27 19-27-18.png > > > Reference URL: > [https://demo-trunk.ofbiz.apache.org/ordermgr/control/ApprovedProductRequirementsReport] -- This message was sent by Atlassian Jira (v8.3.4#803005) |
Free forum by Nabble | Edit this page |