Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6108

Header(s) of printed PDF pages sets URL to an expired link

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: CiviEvent
    • Labels:
      None

      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

        Attachments

          Activity

            People

            • Assignee:
              sunny.sharma Sunny Sharma
              Reporter:
              michaelhaley Michael Haley
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: