-
Notifications
You must be signed in to change notification settings - Fork 641
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
Craft 3.1.4 - issue with getAreConfigSchemaVersionsCompatible() method (works fine on 3.1.3) #3713
Comments
That change was made to prevent issues in the future. What are the Craft versions on both of your environments? To migrate using the project.yaml file, Craft now requires that both of your environments are on the same DB schema versions for Craft and all of the plugins to avoid unpredictable behavior when codebase might not be what the migrations and project config expects. If you believe that this is the case, can you send over both of your project.yaml files (source and target) to [email protected]? |
Thanks for getting back to me. I have sent an email to [email protected] as I'm lost as to why the same types of changes work for me on 3.1.3 but not 3.1.4. |
We are seeing exactly the same issue. Worked around by adding a ! before version_compare to lines 668 and 680 in services/ProjectConfig => getAreConfigSchemaVersionsCompatible() method.
|
Ugh, software is hard. Sorry about that. I've talked with my yesterday self and he promised never to make stupid mistakes again. A release should be out soon, but feel free to edit your composer.json file to pull in these changes immediately by requiring Craft like this:
and running |
Description
Since updating from Craft 3.1.3 to Craft 3.1.4 I started having issues with the project config. After making just a single, simple update in settings and pushing updated project.yaml to the next env I started getting:
Downgraded to 3.1.3 and the same changes went through as expected.
Steps to reproduce
Applying the same steps on when on Craft 3.1.3 produces correct results (project config changes are applied without any problems).
Additional info
Potentially narrowed the issue down to this commit: b785163 (changes to services/ProjectConfig => getAreConfigSchemaVersionsCompatible() method.
The text was updated successfully, but these errors were encountered: