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

hook_civicrm_postProcess not called when "Save and Continue Later" is selected

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.1, 4.0.1
    • Fix Version/s: 3.4.2
    • Component/s: CiviMail
    • Labels:
      None

      Description

      In the postProcess functions in the various civimail forms, a redirect is used when the user selects the option to save and continue later. This prevents subsequent hooks from being called.

      Attached patch fixes this issue by assigning the redirect url to the form object. Then in CRM_Core_Form::mainProcess(), a redirect is performed after the calls to the hook if the url exists.

        Attachments

        1. CRM-8190.patch
          2 kB
          Andrew Harris
        2. mailing-post-process.patch
          3 kB
          Andrew Harris

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              adharris Andrew Harris
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: