-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[Magento 2.3.x] Data/Schema Patches getAliases() causes errors during setup:upgrade
#31396
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
Comments
Hi @dareenzo. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Alfa. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Alfa Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
I kind of ran into the same problem and I'm having this same exact issue. |
Hello, no update on this PR #31635 ? |
We've included a workaround for this through the Discorgento Migrations module. Starting from v2.3.0 it will skip patches whose aliases were already applied, respecting your Demo for those who don't know it yet: https://odysee.com/@discorgento:8/Introduction-to-Module-Migrations-Magento-discorgento-module-migrations:a |
Uh oh!
There was an error while loading. Please reload this page.
Preconditions (*)
Project Environment
Magento 2.4-develop
Magento Version: 2.3.x CE
PHP: 7.4
Database: MySQL 8.0
OS: CentOS 7
Caching: Varnish Cache and OPcache
Steps to reproduce (*)
setup:upgrade
patch_list
table a fully qualified class name for the patch class would be presentgetAliases()
methodExpected result (*)
setup:upgrade
should run normally with no errors whatsoeverActual result (*)
setup:upgrade
fails while applying patch. Mentioning that the original (now aliased) patch has already been appliedPlease provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: