Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21730: postProcess() hook don't receive case id after submitting … #11618

Merged
merged 1 commit into from
Feb 3, 2018

Conversation

jitendrapurohit
Copy link
Contributor

…New Case Form.

Overview

postProcess() hook don't receive case id after New Case Form is submitted.

Before

  • No caseId found in postProcess hook after submitting New Case form.
  • Activity post() hook is invoked before it is linked to a case.

After

  • Case id is correctly assigned to $form->_caseId in postProcess() hook.
  • post() hook for activity is invoked after it is recorded in case_activity table.

@colemanw
Copy link
Member

colemanw commented Feb 3, 2018

Looks good. Thanks for the PR.

@colemanw colemanw merged commit 0738fdc into civicrm:master Feb 3, 2018
@jitendrapurohit jitendrapurohit deleted the CRM-21730 branch February 4, 2018 07:31
@mlutfy mlutfy added this to the 4.7.31 milestone Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants