Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle][Validator] Fix deprecations from Doctrine Annotations+Cache#41230
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
[FrameworkBundle][Validator] Fix deprecations from Doctrine Annotations+Cache#41230
Uh oh!
There was an error while loading.Please reload this page.
Conversation
12721f8 toaae8b2dCompareUh oh!
There was an error while loading.Please reload this page.
derrabus commentedMay 14, 2021
cc@alcaeus |
derrabus commentedMay 14, 2021
The Travis failure is particularly interesting. In debug mode, |
This comment has been minimized.
This comment has been minimized.
alcaeus left a comment
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.
I really appreciate the fact that you managed to introduce compatibility with a new major release in a patch release with a nice downgrade to an uncached reader if everything else fails. Defensive programming to perfection! 👏
ostrolucky commentedMay 16, 2021
He didn't manage that yet, though. He mentioned he has problems that tests discovered new cache having different behaviour. |
aae8b2d to2c9dd17Compare2c9dd17 to3b8dfc7Comparealcaeus commentedMay 16, 2021
I'll take the blame for that, since the difference in behaviour comes from doctrine/annotations providing the wrong functionality. They're supposed to have the same behaviour with different cache libraries. |
derrabus commentedMay 16, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The issue |
99bc0bd to1cfd50cCompare
nicolas-grekas left a comment
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.
(but let's release annotations 1.13.1 before merging?)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
1cfd50c to4c12a26CompareUh oh!
There was an error while loading.Please reload this page.
4c12a26 toaa4b8bdComparealcaeus commentedMay 16, 2021
doctrine/annotations 1.13.1 is released, so feel free to bump 👍 |
derrabus commentedMay 16, 2021
1.13.1 has been tagged. |
aa4b8bd toec51c21Compare
Nyholm left a comment
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.
Thank you. Just a minor question to clarify
Uh oh!
There was an error while loading.Please reload this page.
This PR was merged into the 5.3 branch.Discussion----------[FrameworkBundle] Remove redundant cache service| Q | A| ------------- | ---| Branch? | 5.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | N/A| License | MIT| Doc PR | N/AFollows#40444 and#41230.`@Nyholm` and I have fixed the same problem on different branches. Merging both efforts, we've created two cache services that are supposed to serve the same purpose. This PR suggests to remove one of them.Commits-------3b197fe [Framework] Remove redundant cache service
Uh oh!
There was an error while loading.Please reload this page.
CachedReaderis deprecated. Let's not use it if we don't have to.Paslm is going to complain about missing classes, which is kind-of expected here. 🙂