-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Doctrine migrations immediately aborted in 5.0.5 and 4.4.5 #35988
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
This is a change in doctrine migrations, not Symfony. All you need to do is add |
|
adding |
I also found it after upgrading to sf 4.4.5 but just added -n in our build scripts to fix this. |
…input (ostrolucky) This PR was merged into the 4.4 branch. Discussion ---------- [Console] Fallback to default answers when unable to read input | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36027, Fix #35988 | License | MIT | Doc PR | Alternative to #36027. This fixes linked issues without having to revert fix for #30726. Successfully tested with composer script, `docker run` and `docker run -it`. Commits ------- 8ddaa20 [Console] Fallback to default answers when unable to read input
Symfony version(s) affected: 5.0.5 and 4.4.5
Description
Yesterday I updated some of my projects to the newest versions of Symfony. I noticed that both in Github Actions and Bitbucket Pipelines my CI/CD process failed (with no other code changes made). After downgrading back to 4.4.4 and 5.0.4 everything went fine.
How to reproduce
Create Symfony project in the newest version in Bitbucket or Github with enabled CI/CD and mysql + sample migration. I've created sample repository with minimal code possible to show how it looks like.
Master branch (5.0.5): https://github.com/jacekpl/symfony-migrations-issue
Failed pipeline for master: https://github.com/jacekpl/symfony-migrations-issue/runs/490266168?check_suite_focus=true
Delevop branch (5.0.4): https://github.com/jacekpl/symfony-migrations-issue/tree/develop
Ok pipeline for develop: https://github.com/jacekpl/symfony-migrations-issue/runs/490130516?check_suite_focus=true
Additional context
Expected bahaviour:
Actual behaviour in 5.0.5:
The text was updated successfully, but these errors were encountered: