-
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
CLI issue with bin/magento and exit codes for failure #7576
Labels
bug report
Component: Setup
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Comments
There exists a hacky workaround, I post to illustrate others are experiencing the same gripes, ultimately this shouldn't be necessary. http://aleron75.com/2016/08/12/magento2-script-for-setup-upgrade/ |
Hi @sitepodmatt Thank you for your report. |
Assigning to @misha-kotov . |
magento-team
pushed a commit
that referenced
this issue
Apr 4, 2017
magento-team
pushed a commit
that referenced
this issue
Apr 4, 2017
Fixed issues: - MAGETWO-66736 Asymmetric transaction rollback error during stores importing - MAGETWO-66672 Impossible generate fixture if store_groups>1 - MAGETWO-61431 [GitHub] CLI issue with bin/magento and exit codes for failure #7576
This issue has already been fixed. |
magento-devops-reposync-svc
pushed a commit
that referenced
this issue
Apr 20, 2022
[Performance] Speed up catalog permissions indexers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug report
Component: Setup
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Magento 2 CLI not setting expected/correct exit codes when an upgrade task fails.
Preconditions
Magento ~2.2 tip of develop
Steps to reproduce
Run a bin/magento setup:upgrade where a data upgrade fails, a simple die("lets hope this isnt tracked internally for the love of community but instead on github issues") in your modules UpgradeData.php upgrade function will suffice.
Expected result
Exit code should be non-zero
Actual result
Exit code is zero
The text was updated successfully, but these errors were encountered: