cfDocument Page Counters

I’m having issues with the various page numbers and counters in cfdocument and this exact issue was raised previously and apparently fixed in version 5.3.4.3 according to https://luceeserver.atlassian.net/browse/LDEV-2404

And yet I’ve tested this on versions ranging from 5.3.12.1 to 5.4.4.38 and all show the same symptom as described in the ticket.

I tried setting up an example on cftry but cfdocument is disabled there.

I was able to try my code on cffiddle where it does run (on ACF) with no issue:

I’m running version 1.2.0.10 of the PDF engine.

I tried asking this on the CF Slack channel with no response so any suggestions at this point would be much appreciated.

B)