-
-
Notifications
You must be signed in to change notification settings - Fork 827
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 for 5.59 upgrade on multilingual #25716
Conversation
(Standard links)
|
CRM_Upgrade_Incremental_Base
is what should have been there to begin with, and will prevent this in the future. I've tested that successfully. The fix in CRM_Upgrade_Incremental_php_FiveFiftyNine
is untested because I'm not 100% sure this is all that's needed, but I'm sure whomever reviews this will point out my errors :). Mainly I just want a fix available ASAP.
Fail relates to version - note that we still need to merge this to 5.60 before it can go into 5.59 so maybe just change the target to the rc & it will pass & then in the backport the version can be incremented In Form.php line 509: [CRM_Core_Exception] Exception trace: |
if ($locales) { | ||
CRM_Core_I18n_Schema::rebuildMultilingualSchema($locales, NULL, TRUE); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MegaphoneJon need a blank line added after this line
Today got busy - I can make fixes tomorrow (in ~16 hours) but if someone wants to push this ahead, they should feel free. |
I did an
After locally
Maybe we can figure some other intervention (e.g. another patch/pr) to help with the "Two Step" scenario. For the moment, I'll push an update so Jenkins can give feedback on just the "Base" part. |
45705bc
to
8aa0fa5
Compare
|
Since tests pass and there's no objection to the smaller patch, I'll go ahead and merge -- the best way to head-off problems is to get the fix out there. |
Overview
https://lab.civicrm.org/dev/core/-/issues/4155
Before
Can't access CiviCRM after upgrading to 5.59.0.
After
Can access site after upgrading to 5.59.1.
Technical Details
The fix in
CRM_Upgrade_Incremental_Base
is what should have been there to begin with, and will prevent this in the future. I've tested that successfully. The fix inCRM_Upgrade_Incremental_php_FiveFiftyNine
is untested because I'm not 100% sure this is all that's needed, but I'm sure whomever reviews this will point out my errors :). Mainly I just want a fix available ASAP.