When a blank page must be added to follow the force-page-count constraint, and a page-sequence-master has been defined for the last page, that page-sequence-master will be used for the next-to-last page instead, and the last page will be a blank page.
Created attachment 24838 [details] First example. Blank page is added after last page instead of using normal p-s-m for page 2 and last-page for page 3
Created attachment 24839 [details] PDF rendering of first example
Created attachment 24840 [details] Second example. Last-page too small to hold content, so added as page 3 and blank page as page 4
Created attachment 24841 [details] PDF rendering of second example
resetting P2 open bugs to P3 pending further review
*** This bug has been marked as a duplicate of bug 51962 ***