[
https://issues.apache.org/jira/browse/FOP-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705340#comment-17705340
]
Dave Roxburgh commented on FOP-3090:
------------------------------------
Hi Franziska Zäch , yes, I can see that you are still experiencing an issue.
Unfortunately, the assets I have to work with do not isolate the issue well - I
have modified the assets you have provided to get a running test setup but I
still get warnings that the following resources are missing:
C:\codelists\3207.xml
C:/Druckaufbereitung_FOP_BISRTE/Stylesheets/fo11/images/ForTest1.png.
C:\3090\ARE_Image.xml
C:/Druckaufbereitung_FOP_BISRTE/Stylesheets/fo11/images/sie_logo_black_rgb.jpg
C:/Druckaufbereitung_FOP_BISRTE/Stylesheets/fo11/images/ForTest1.png
C:\codelists\3207.xml
C:\codelists\1001.xml
C:\codelists\1225.xml
C:\3090\TAXrateTitle.xml
C:\codelists\3229.xml
C:\codelists\3225.xml
C:\3090\CUX_decimalPlaces.xml
C:\codelists\6411.xml
C:\codelists\6063.xml
C:/Druckaufbereitung_FOP_BISRTE/Stylesheets/fo11/images/sie_logo_black_rgb.jpg.
Clearly, there are many differences between my environment and yours, any of
which may prevent my FOP instance from running the same execution path as
yours. This may mean that I am unable to reproduce the issue.
In addition, your XSL is complex which makes isolating the underlying issue
difficult. Because of all these extra complexities, I cannot tell whether the
issue is a fault in FOP 2.7 or a problem with your configuration/data which
FOP2.6 tolerated fortuitously.
The following advises how to submit an issue:
https://bz.apache.org/bugzilla/page.cgi?id=bug-writing.html
Specifically, I would draw your attention to the following:
Steps to Reproduce: Minimized, easy-to-follow steps that will trigger the bug.
Include any special setup steps.
The configuration submitted with the bug report should be the smallest,
simplest configuration required to trigger the bug.
If you are able to submit such resources it would help greatly in isolating the
issue.
> Incorrect page creation with master-reference="singlePage"
> page-position="only"/>
> ---------------------------------------------------------------------------------
>
> Key: FOP-3090
> URL: https://issues.apache.org/jira/browse/FOP-3090
> Project: FOP
> Issue Type: Bug
> Components: layout/page
> Affects Versions: 2.7
> Environment: Windows 10
> Reporter: Franziska Zäch
> Priority: Major
> Attachments: Codelist_Template.xsl, CommonTemplateFO.xsl,
> INVOICFO.xsl, Mustermann.2.7.pdf, Mustermann.pdf, Mustermann.xml,
> Mustermann_big_ok.xml, Mustermann_big_ok.xml.pdf, Mustermann_short_ok.xml,
> Mustermann_short_ok.xml.pdf, TextAusgabePDF.xml, fop_invoic.bat
>
>
> After upgrading FOP 1. 1 to FOP 2. 7, the “Single Page” is no longer created
> correctly if a 2nd page is to be created due to the data volume in “body” and
> a region-after extent=”11. 8cm.
> See appendix template. pdf: Here a 2nd page is created due to the data volume
> (body)!
> See Appendix Mustermann 2. 7. pdf: Due to the data volume (body) a 2nd page
> should be created here!
> Note: the bank details should only be printed once per document!
> Note: with the FOP version 2. 6 the PDF is created correctly!
> <fo:simple-page-master master-name="{color:#ff0000}singlePage{color}"
> page-height="297mm" page-width="210mm" margin-top="15mm" margin-bottom="0mm"
> margin-left="3mm" margin-right="2mm">
> <fo:region-body region-name="{color:#ff0000}body{color}"
> margin-top="2.4cm" margin-b{color:#ff0000}ottom="11.8cm{color}"
> margin-left="10mm"/>
> <fo:region-before extent="2cm"
> region-name="xsl-region-before"/>
> <{color:#ff0000}fo:region-after extent="11.8cm{color}"
> region-name="last-region-after" margin-right="40mm" display-align="after"/>
> <fo:region-start extent="1cm"
> region-name="xsl-region-start"/>
> </fo:simple-page-master>
>
> <fo:page-sequence-master master-name="basicPSM">
> <fo:repeatable-page-master-alternatives>
> <fo:conditional-page-master-reference
> master-reference="singlePage" page-position="only"/>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)