Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel] Fix compile error when a legacy container is fresh again#25733
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Contributor
sroze commentedJan 9, 2018
You should hire this guy! Oh... wait... 😜 |
jpauli commentedJan 9, 2018
👍 |
Member
fabpot commentedJan 10, 2018
Thank you@nicolas-grekas. |
fabpot added a commit that referenced this pull requestJan 10, 2018
…fresh again (nicolas-grekas)This PR was merged into the 3.4 branch.Discussion----------[HttpKernel] Fix compile error when a legacy container is fresh again| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#25654| License | MIT| Doc PR | -Noticed by@jpauli again: when reverting some configuration changes ends up generating the same container as the previously legacy one, the legacy flag should be removed.Commits-------8c3eadb [HttpKernel] Fix compile error when a legacy container is fresh again
phpwutz commentedFeb 14, 2018
Thanks for the fix, the bug was really annoying 👍 |
nico-incubiq added a commit to nico-incubiq/symfony that referenced this pull requestDec 18, 2018
Sincesymfony#25733 the Kernel attempts to unlink the legacy container while being built.This throws an error if the file did not exist, for example on a clean install, on the build, which is then silenced.That's fine on production systems, but on our build we have enabled "xdebug.scream" in order to visualise every errors, which basically un-silences the errors. I believe there should not be a need to silence anything on a usual, clean usage of the system.Making this `unlink` conditional fixes it.Could you please approve and merge this PR?Thanks
nicolas-grekas pushed a commit to nico-incubiq/symfony that referenced this pull requestDec 19, 2018
Sincesymfony#25733 the Kernel attempts to unlink the legacy container while being built.This throws an error if the file did not exist, for example on a clean install, on the build, which is then silenced.That's fine on production systems, but on our build we have enabled "xdebug.scream" in order to visualise every errors, which basically un-silences the errors. I believe there should not be a need to silence anything on a usual, clean usage of the system.Making this `unlink` conditional fixes it.Could you please approve and merge this PR?Thanks
nicolas-grekas added a commit that referenced this pull requestDec 19, 2018
…biq)This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes#29645).Discussion----------Allow running PHPUnit with "xdebug.scream" ON| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks? | no <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass? | yes <!-- please add some, will be required by reviewers -->| Fixed tickets | <!-- #-prefixed issue number(s), if any -->| License | MIT| Doc PR | <!-- required for new features -->Since#25733 the Kernel attempts to unlink the legacy container while being built.This throws an error if the file did not exist, for example on a clean install, on the build, which is then silenced.That's fine on production systems, but on our build we have enabled `xdebug.scream` in order to visualise every errors, which basically un-silences the errors. I believe there should not be a need to silence anything on a usual, clean usage of the system.Making this `unlink` conditional fixes it.Could you please approve and merge this PR?ThanksCommits-------7a7165e Allow running PHPUnit with "xdebug.scream" ON
symfony-splitter pushed a commit to symfony/http-kernel that referenced this pull requestDec 19, 2018
Sincesymfony/symfony#25733 the Kernel attempts to unlink the legacy container while being built.This throws an error if the file did not exist, for example on a clean install, on the build, which is then silenced.That's fine on production systems, but on our build we have enabled "xdebug.scream" in order to visualise every errors, which basically un-silences the errors. I believe there should not be a need to silence anything on a usual, clean usage of the system.Making this `unlink` conditional fixes it.Could you please approve and merge this PR?Thanks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed by@jpauli again: when reverting some configuration changes ends up generating the same container as the previously legacy one, the legacy flag should be removed.