-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
type: service caches are broken in 2.4 #1348
Comments
@alcaeus we should re-add the |
@alexander-schranz can you please test the current stable release with the same config? While we did make changes to metadata caching, I fail to see how those would be responsible for having a service disappear, let alone a service that you defined yourself. The original config is from the early days of symfony/cache when the bundle didn't support creating the provider service itself. The second config is what we introduced a couple of years ago when we removed configuring doctrine/cache in this bundle. Note that with the latest version, the |
Hi, I just came across this error on dev upgrade to 2.4-dev: here is the failed GitHub Action build - https://github.com/rectorphp/getrector.org/pull/329/checks?check_run_id=2650545486 @alexander-schranz Thanks for sharing the solution 👍 ...(20 commits later), so here is the diff that works ✔️ In our case we had to change |
Hmm so 2.4 actually breaks any |
@alcaeus the current released versions didn't make any problems for me yet. |
@alexander-schranz We're talking about 2.4 (dev to this day), as in the issue title. |
@alexander-schranz thanks for following up. I'll take a look and go from there. |
@alexander-schranz Ah, sorry, I missed you're the author of this issue :D my bad. |
@TomasVotruba did you have the same config as others where you define the |
I'll answer for him. Yes, he does. That's how I created my failing test case/reproducer. |
Just so there is connection and nobody is lost: work is in progress in #1352 |
@alcaeus Yes, I've linked the exact diff in my comment. You can see what was before/after: https://github.com/rectorphp/getrector.org/pull/329/files#diff-b6ffdd83e5d44e8e8b8f71db29813538d227f74f0b2f4c0f9f8a5c8242bf5707 |
Would be great if somebody could try out #1352 |
I currently did test @sulu against current
dev
dependencies and we have the following configured in theprod/doctrine.yaml
:doctrine.yaml
https://github.com/sulu/sulu/runs/2620361693
I think maybe there was a bc break introduced in the current current dev version, so I thought I will report this here. Updating the
doctrine.yaml
to something newer like this did fix it for us:doctrine.yaml
So its not an issue for us currently as we did update the skeleton some time ago just thought I would report it that there was unexpected change which could maybe crash older projects an older cache configuration.
The text was updated successfully, but these errors were encountered: