Hello,
The following is the details of a bug that I raised last September.
This was supposedly to fixed under SOLN-2157 but I have just checked the newest download and it has not been incoroporated.
Can you please check and test/apply to see if this resolves your issue.
Michael
*** NEW SUPPORT CASE ***
Case #: 98857
Thread ID: ref:_00D409oyL._50040MvSEm:ref
Priority: P3
Subject: Coding issue with PDF Server App
Description: Had minor issues getting this app to work fully. Whilst basic configuration was as per the docs, the app was unable to actaully display the PDF as a preview (from dashboard, action=schedule for delivery, then select preview), yet the preview worked from the manager -> system -> email alert, pdf server status page.
After much digging it was found that when running the status page under system settings, the web port (443) was passed to the pdf app correctly, yet when runnging the preview of a scheduled job, the port was not passed.
Digging into the code, a default value of "None" is applied if the port is not present, but further down the code checks for a value of -1.
This behaviour was fixed by modifying the following in bin/pdfhandler.py (part of the pdfserver app)
line 303, from
if port == -1:
to
if port == -1 or port is None:
line 660, from
if target_port == -1:
to
if target_port == -1 or target_port is None:
This ensures that the cert_overrides and cookie values are correctly created by the app.
... View more