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

[#6435] Remove popup banner and JS from request correspondence PDFs #6488

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

gbp
Copy link
Member

@gbp gbp commented Aug 20, 2021

Relevant issue(s)

Fixes #6435

What does this do?

Remove popup banner and JS from show request PDFs

Why was this needed?

We need to remove the popup due to WDTK theme using opacity CSS selector
for these elements this is causing the wkhtmltopdf-static command to seg
fault:

QPixmap: Cannot create a QPixmap when no GUI is being used
...
Segmentation fault

Also need to remove JS from the page as this causes SSL socket errors:

QSslSocket: cannot resolve ...
QSslSocket: cannot call unresolved function ...

We need to remove the popup due to WDTK theme using opacity CSS selector
for these elements this is causing the wkhtmltopdf-static command to seg
fault:
> QPixmap: Cannot create a QPixmap when no GUI is being used
> ...
> Segmentation fault

Also need to remove JS from the page as this causes SSL socket errors:
> QSslSocket: cannot resolve ...
> QSslSocket: cannot call unresolved function ...

Fixes #6435
@gbp gbp changed the title [#6435] Remove popup banner and JS from show request PDFs [#6435] Remove popup banner and JS from request correspondence PDFs Aug 20, 2021
@gbp gbp merged commit dbcc656 into develop Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request page PDF generation broken
1 participant