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

Fix warnings on upgrade when non-core message templates exist #24588

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix warnings on upgrade when non-core message templates exist

Before

Warnings on upgrade for non-core message templates

file_get_contents(/path/sites/all/modules/civicrm/xml/templates/message_templates/eoy_thank_you_html.tpl):[warning]
failed to open stream: No such file or directory

After

Add a pre-check to avoid the warnings

Technical Details

Comments

@demeritcowboy

@civibot
Copy link

civibot bot commented Sep 22, 2022

(Standard links)

@civibot civibot bot added the 5.54 label Sep 22, 2022
@demeritcowboy
Copy link
Contributor

demeritcowboy commented Sep 22, 2022

Ah that makes sense. Thanks.
Might also be the cause of this reported yesterday: https://civicrm.stackexchange.com/questions/42658/unable-to-run-civi-database-upgrades-through-ui No probably not if they are upgrading to 5.53.

@demeritcowboy
Copy link
Contributor

style issue

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.

2 participants