Details
Description
When you print to pdf (e.g. a list of participants from a CivicEvent search page), the PDF returned includes the expired temparary URL on each page header.
URL in the header: http://www.example.com/civicrm/event/search?_qf_Print_dis
Sorry. A non-recoverable error has occurred.
HTML_QuickForm_Controller: Unhandled action "dis" in page "Print"
Return to home page.
Error Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] =>
[message] => HTML_QuickForm_Controller: Unhandled action "dis" in page "Print"
[mode] => 16
[debug_info] =>
[type] => PEAR_Error
[user_info] =>
[to_string] => [pear_error: message="HTML_QuickForm_Controller: Unhandled action "dis" in page "Print"" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
)
Looking through the TCPDF documentation, maybe we can set this to the BASE URL of the actual site installation to make the PDF output cleaner.
http://www.tecnick.com/pagefiles/tcpdf/doc/com-tecnick-tcpdf/TCPDF.html#methodsetHeaderData