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

Fix fatal errors in Petition signature flow and assign petition pageURL and title to Thank You and Social Networking templates

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Component/s: CiviCampaign
    • Labels:
      None

      Description

      Testing "Sign Petition" flow in 4.2 found two fatal errors.

      CRM_Campaign_Form_Petition_Signature::postProcess() - tag create api call returns "id" not "tag_id".
      CRM_Campaign_BAO_Petition::checkSignature() - syntax error in sql

      Also added assignment of petition title to Thankyou template, and passing title and petition URL to common/SocialNetwork.tpl so that the standard layout elements are present for petitions.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: