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#1846 Make DAO upgrade safe #17907

Merged
merged 3 commits into from
Jul 22, 2020
Merged

Conversation

seamuslee001
Copy link
Contributor

Overview

This ports a9d0587 and #17729 to fix an upgrade issue where by extensions call Customfield.get as per backtrace on the lab ticket

ping @eileenmcnaughton @colemanw @kcristiano

colemanw added 3 commits July 22, 2020 08:59
Switches api v3 and v4 to use that method so they are upgrade-safe by default.
The settingTest class was being too aggressive about creating and deleting domains,
this teaches it to not delete pre-existing domains.
Also marks an old unused api function deprecated.
@civibot
Copy link

civibot bot commented Jul 21, 2020

(Standard links)

@civibot civibot bot added the 5.27 label Jul 21, 2020
@kcristiano
Copy link
Member

@seamuslee001 looks good.

I did an r-run

Same site that had the issue as in https://lab.civicrm.org/dev/core/-/issues/1846#note_40672

Applied this PR to 5.27

Once applied, no fatal errors, and I can upgrade from 5.26.2 to 5.27

@eileenmcnaughton
Copy link
Contributor

MOP based on @kcristiano r-run

@seamuslee001 seamuslee001 merged commit 44f7638 into civicrm:5.27 Jul 22, 2020
@colemanw
Copy link
Member

Thanks @seamuslee001

@eileenmcnaughton eileenmcnaughton deleted the 5.27 branch July 22, 2020 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants