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#2870 Fix upgrade error with rpow installed #21640

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

dev/core#2870 Fix upgrade error with rpow installed

Before

5.43 upgrade crashes sites with rpow enabled

After

no crash

Technical Details

The method for getting the database name was not rpow friendly - happily the method that is is also less code & easier to maintain

Comments

https://github.com/totten/rpow

@civibot
Copy link

civibot bot commented Sep 27, 2021

(Standard links)

@civibot civibot bot added the master label Sep 27, 2021
@totten
Copy link
Member

totten commented Sep 28, 2021

The use-case is fairly specific, and I'm inclined to trust @eileenmcnaughton's testing on whether it fixes the target problem.

I think the main question is whether this could be regressive. From reading, I'm not concerned that it's regressive. There are some circumstances (namely, pre-boot/pre-install -- when the system initialization is in a funny place) where you might prefer the static-y/global-y check over the new CRM_Core_DAO check. But this isn't that circumstance. The checkFKExists() operation is going to be used after you have a decent DB connection.

@totten totten merged commit b40adb2 into civicrm:master Sep 28, 2021
@eileenmcnaughton eileenmcnaughton deleted the edge branch September 28, 2021 05:11
@eileenmcnaughton
Copy link
Contributor Author

thanks @totten

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.

2 participants