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

MAE-823: Align with latest CiviCRM version 5.51 #867

Closed
wants to merge 15 commits into from

Conversation

olayiwola-compucorp
Copy link

@olayiwola-compucorp olayiwola-compucorp commented Sep 1, 2022

Overview

This PR is in order to make the extension compatible with CiviCRM version 5.51
Some of the issues that have been identified and fixed are

  1. The extension causes almost every page of CiviCRM to throw PHP Fatal error and display a blank screen. this was fixed in this PR Fatal PHP Error with Civi Core 5.47 #848
  2. Custom Fields are displayed twice in the CiviCase form, this has been fixed by this PR Remove unnecessary DisplayAllCustomGroupsInCaseForm build Form hook #827
  3. Test Cases are now failing, this has been fixed by this commit and this commit

Before

After

Additional Details

The CRM_Civicase_Hook_SendBulkEmailTest test case is failing because of some changes that have been made to the
EmailTrait in this PR now expects from_email_address to be available in the CiviCRM core

civicrm/civicrm-core@e2615a2

Paul Barmaksezian and others added 6 commits August 13, 2022 16:17
…ldForm hook. Its function is covered by core (at least in 5.42), and all it seems to do is add a duplicate of the case custom fields in the activity custom fields section of the case create form.
Remove unnecessary DisplayAllCustomGroupsInCaseForm build Form hook
@olayiwola-compucorp olayiwola-compucorp changed the title MAE-823: Align with latest CiviCRM version 5.51.3 MAE-823: Align with latest CiviCRM version 5.51 Sep 1, 2022
@olayiwola-compucorp olayiwola-compucorp force-pushed the MAE-823-align-with-civi-5.51.3 branch from b54b3b5 to c00004b Compare September 1, 2022 11:44
Before now CiviCRM uses the same class to handle sending of bulk emails in Contact/Activity Page and Case page, this has now been separated as seen in here civicrm/civicrm-core@dcecc49, so we now use this Forn path to send emails in CiviCase also
Before now civicrm uses the value in _toContactEmails to know which email to send email to, but it now uses the "to" html field. to restrict the contact emails that will be included in the bulk email for the current form,
we update the emails in the "to" field, removing those that do not belong to the current case id.
@olayiwola-compucorp olayiwola-compucorp force-pushed the MAE-823-align-with-civi-5.51.3 branch from 3c77915 to f186303 Compare September 5, 2022 08:00
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.

2 participants