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

dev/core#1489 do not reconcile managed entities whilst in upgrade mod… #16149

Merged
merged 1 commit into from
Dec 30, 2019

Conversation

seamuslee001
Copy link
Contributor

…e and add in a step at the end of the upgrade process to reconcile managed entiies and add in civicrm_permissions hook to the whitelist of upgrade friendly hooks

Overview

This adds in code to ensure we do not reconcile managed entities until after the upgrade is run and also adds in the civicrm_permissions hook to the whitelist as i don't think that can be problematic

Before

Managed entities maybe reconciled during upgrade

After

Managed entities are not reconciled during upgrade

ping @eileenmcnaughton @totten @jusfreeman

@civibot
Copy link

civibot bot commented Dec 23, 2019

(Standard links)

@civibot civibot bot added the master label Dec 23, 2019
@eileenmcnaughton
Copy link
Contributor

style warning

…e and add in a step at the end of the upgrade process to reconcile managed entiies and add in civicrm_permissions hook to the whitelist of upgrade friendly hooks
@eileenmcnaughton
Copy link
Contributor

OK - this makes sense - let's get it merged before the next rc is cut

@eileenmcnaughton eileenmcnaughton merged commit fc6ecb0 into civicrm:master Dec 30, 2019
@eileenmcnaughton eileenmcnaughton deleted the dev_core_1489 branch December 30, 2019 03:08
@arborrow
Copy link

arborrow commented Feb 6, 2020

FYI, when upgrading to 5.22.0 I received the following:
There is a Payment Processor associated with selected Payment Processor type, hence it can not be deleted.

And then later, I saw:
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. API error: Could not delete payment processor type

It appears that the upgrade succeeds so I am hoping that all is well. I only have Stripe enabled on the site.

@arborrow
Copy link

arborrow commented Feb 6, 2020

I was able to disable and re-enable CiviDiscount without issue so as best I can tell all is well.

@seamuslee001 seamuslee001 restored the dev_core_1489 branch February 13, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants