Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAIN_ADD_PDF_BACKGROUND works only for the first page #21093

Closed
svewa opened this issue Jun 1, 2022 · 2 comments
Closed

MAIN_ADD_PDF_BACKGROUND works only for the first page #21093

svewa opened this issue Jun 1, 2022 · 2 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@svewa
Copy link

svewa commented Jun 1, 2022

Bug

this bug is almost 1:1 stolen from #5622

The Option MAIN_ADD_PDF_BACKGROUND only add the PDF as background on the first page. I found the error on Proposals, maybe the error is for each standard document template.

Environment Version

15.0.2

Environment OS

debian 11

Environment Web server

apache2.4.51

Environment PHP

7.4.21

Environment Database

MariaDB 5.5.5-10.5.12-MariaDB-0+deb11u1

Environment URL(s)

No response

Expected and actual behavior

It should add the PDF you define on MAIN_ADD_PDF_BACKGROUND as background on each page of the generated documents. But it does only for the first page, at least for the cyan standard template.

Steps to reproduce the behavior

Create a proposal with enough lines, or big descriptions on lines, to reach the use of more than 1 page on the document.
generate it, and check the background is only used with the first page.

Attached files

No response

@svewa svewa added the Bug This is a bug (something does not work as expected) label Jun 1, 2022
@fboitel fboitel mentioned this issue Jun 10, 2022
@svewa
Copy link
Author

svewa commented Sep 13, 2022

just updated to 16.0.0 and tried the fix. It does indeed add the watermark to all pages, but the description/prices/quantities etc disappeared on all but the first page. So my offer has only the text on the first page, all other pages have the general page design but nothing in the table. I confirmed by deleting MAIN_ADD_PDF_BACKGROUND it works as intended - without the watermark.

@svewa
Copy link
Author

svewa commented Apr 26, 2023

seems to be fixed at least in in 17.0.1

@svewa svewa closed this as completed Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant