Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] AnnotationsCacheWarmer should support doctrine/annotations:^1.13#40444

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
fabpot merged 1 commit intosymfony:5.xfromNyholm:issue-40353
Mar 12, 2021

Conversation

@Nyholm
Copy link
Member

@NyholmNyholm commentedMar 11, 2021
edited
Loading

QA
Branch?5.x
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#40353
LicenseMIT
Doc PR

TheAnnotationsCacheWarmer is creating a cached anew CachedReader in thedoWarmUp(). But this will fail if doctrine/cache is not installed. In#40338 I added thekernel.cache_warmer tag onannotations.cache_warmer service even though the doctrine/cache is not installed.

This PR will make sureAnnotationsCacheWarmer is using thePsrCacheReader when available.

This bug was not found in the tests because doctrine/cache is always installed.


Big golden star to@jrushlow because you test dev-master.

OskarStark reacted with thumbs up emoji
Copy link
Contributor

@jrushlowjrushlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for this fix@Nyholm!

@fabpot
Copy link
Member

Thank you@Nyholm.

@fabpotfabpot merged commit5d72815 intosymfony:5.xMar 12, 2021
fabpot added a commit that referenced this pull requestMay 31, 2021
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
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@jrushlowjrushlowjrushlow approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[FrameworkBundle] cache:clear fails with doctrine annotations

4 participants

@Nyholm@fabpot@jrushlow@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp