Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundler] Fix cache:clear with buildDir#39360
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
5b7dcc1 toe8e3aabComparejderusse commentedDec 9, 2020
FYI test in red because test in FWB requires fix Kernel form this same PR (that's why in changed composer.json to 5.2.1) |
nicolas-grekas commentedDec 11, 2020
(the tests on Windows might need some love.) |
jderusse commentedDec 11, 2020
Fixed with my must favorite trick. Doing nothing... ^^ In fact, previous failure were very strange: I guess appveyor had FS issue |
nicolas-grekas commentedDec 14, 2020
(rebase needed) |
| } | ||
| } | ||
| class NoBuildDirKernelextends TestAppKernel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Could you have a look@chalasr ? Previous code can't work, becausekernel.build_dir is now needed to build the container (and now needed to initialize thecache:clear command).
I refactored the code t build a container and then remove the parameter from the dumped container.
alongosz commentedDec 14, 2020
Hey Guys, just wanted to let you know that this PR resolves ourblocker in Ibexa DXP preventing us from upgrading to Symfony 5.2. Thanks 👍 |
chalasr commentedDec 15, 2020
Thanks for fixing this bug@jderusse. |
Kocal commentedDec 15, 2020
Thanks@jderusse ❤️ ❤️ |
alongosz commentedDec 15, 2020
Thanks@jderusse 🎉 |
derrabus commentedDec 15, 2020
By the end of the month, usually. |
lserwatka commentedDec 15, 2020
@derrabus we are launching new Ibexa DXP 3.3.0 on December 30th. We are eager to use Symfony 5.2 as all our tests are passing with this fix. Could you make a Symfony 5.2.1 release before December 30th? |
derrabus commentedDec 15, 2020
I'm pretty confident that 5.2.1 happens before Dec 30th. 😃 But please test against 5.2-dev in the meantime to make sure the changes work for you. |
mnapoli commentedDec 15, 2020
Thank you@jderusse! |
Wirone commentedDec 16, 2020
First of all, thanks for the fix - I've encountered this problems in the project created with CLI binary few days ago and had to downgrade to 5.1 to continue working on it. Personally I think that fixes like this one should be considered as hotfixes andreleased as soon as possible. Symfony 5.2.0 was released 16 days ago and is really unstable because of problems with cache (at least in |
jderusse commentedDec 16, 2020
keep calm and run |
Wirone commentedDec 23, 2020
Thank you@fabpot for earlier release 👍 |
Since#36515 there are 2 caches dir
cacheDirandbuildDir. For BC reason both points to the same folders, but when app don't use the same folder, many thing are broken:This PR fixes several issues introduces by the above PR:
App_KernelDevDebugContainerDeprecations.log,App_KernelDevDebugContainer.xml)Compiler.logis written in build_dir andDeprecations.logwere written in cache_dir before this PRcache_dirandbuild_dirare not identical.