-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Error Message Is Confusing When Code Base Is Behind Database Module Version #9008
Comments
@mpchadwick Agreed. +1 |
While I generally agree the message given in this case is severely misleading, I'd like to make the following remark.
Wasn't sure whether to laugh or cry tears at this moment. DB downgrade is a potentially destructive oeration (imagine destroying a column having important information in it) and I don't see how is it a good idea to promote something like that in the messages (read: "instructions") given to the user. IMHO what you most likely need in such a situation is upgrade the module itself (with composer or from repo branch or wherever it's source code is) to the version required by the DB, thus a relevant message should look similar to the following: |
@mpchadwick thank you for your feedback. |
According to contributor guide, tickets without response for two weeks should be closed. |
BTW This is also a duplicate of #9981. |
Internal ticket to track issue progress: MAGETWO-80225 |
Hi @mpchadwick. Thank you for your report.
The fix will be available with the upcoming 2.3.0 release. |
Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated: Foo_Bar schema: current version - 1.0.4, required version - 1.0.0
Preconditions
This can happen when...
In this case running bin/magento setup:upgrade does not resolve the issue, and upgrading the database is not really correct (you actually need to downgrade).
The text was updated successfully, but these errors were encountered: