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

Extensions - Degrade gracefully if new requirements are not installed #22641

Merged
merged 3 commits into from
Jan 27, 2022

Conversation

totten
Copy link
Member

@totten totten commented Jan 27, 2022

Overview

Backport #22623, #22464, and #22638 to 5.45-stable

See also: https://lab.civicrm.org/dev/core/-/issues/3036

colemanw and others added 3 commits January 26, 2022 20:59
Before: Missing dependencies would be added and then the extension upgrader would try and fail to upgrade them
After: They are skipped, as missing extension dependencies are handled elsewhere

This allows the extension upgrade to proceed without error, even if there are missing dependencies.
The user will be prompted to install the missing dependencies afterward.
Adds a system status check to ensure extension dependencies are met
@civibot
Copy link

civibot bot commented Jan 27, 2022

(Standard links)

@civibot civibot bot added the 5.45 label Jan 27, 2022
@totten totten changed the title Extensions - Fail gracefully if new rerquirements are not uninstalled Extensions - Fail gracefully if new requirements are not installed Jan 27, 2022
@totten totten changed the title Extensions - Fail gracefully if new requirements are not installed Extensions - Degrade gracefully if new requirements are not installed Jan 27, 2022
@colemanw colemanw merged commit 08cb18d into civicrm:5.45 Jan 27, 2022
@totten totten deleted the 5.45-ext-check branch January 28, 2022 00:46
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