cfdocument totalpagecount and totalpagecount are wrong when using sections

Description

If you have sections in your PDF, cfdocument.totalpagecount is always equal to cfdocument.totalsectionpagecount and cfdocument.currentpagenumber is always equal to
cfdocument.currentsectionpagenumber

This makes page numbering impossible for the full PDF since they keep resetting for each section.

Attachments

2

Activity

Pothys - MitrahSoft 
1 April 2020 at 06:08

, I added a fixed version.

Brad Wood 
31 March 2020 at 16:13

Thanks! Can you update the fixed version? People will find this ticket on Google or the Lucee dev forum, see that it is fixed, and want to know what version contained the fix.

Michael Offner 
31 March 2020 at 07:58

thank for digging on this.

you need to search for “evalATprint“ not “evalONprint“, my mistake 😉

This are the tickets in question:

https://luceeserver.atlassian.net/browse/LDEV-1546

https://luceeserver.atlassian.net/browse/LDEV-2611

ok i will close that ticket and we will look at the other one.

Brad Wood 
30 March 2020 at 23:15

Here is a test showing the terrible performance of evalonprint. Changing evalAtPrint to false will let this code run in seconds.

Duplicate

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Fix versions

Affects versions

Priority

Created 9 August 2019 at 07:54
Updated 11 November 2022 at 12:18
Resolved 31 March 2020 at 07:59