8000 [Cache] Async cache recomputing · Issue #42408 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Cache] Async cache recomputing #42408

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

Closed
next-sentence opened this issue Aug 6, 2021 · 2 comments
Closed

[Cache] Async cache recomputing #42408

next-sentence opened this issue Aug 6, 2021 · 2 comments

Comments

@next-sentence
Copy link

Symfony version(s) affected: 5.2 or above

Description
this feature doesn't work with symfony debug-pack
How to reproduce

  • clone the demo repository
  • remove composer.lock
  • run composer install
  • configure messenger routing dns
  • start symfony server
  • open http://localhost/demo

at this point it should work as expected, but if you add symfony debug-pack
composer require debug

you will get an exception like this

Attempted to call an undefined method named "setCallbackWrapper" of class "Symfony\Component\Cache\Adapter\TraceableAdapter".

Possible Solution
maybe add \Symfony\Component\Cache\Traits\ContractsTrait in \Symfony\Component\Cache\Adapter\TraceableAdapter also?

@next-sentence
Copy link
Author

@nicolas-grekas

@nicolas-grekas
Copy link
Member

Thanks for the issue. See #42445 for the fix.

nicolas-grekas added a commit that referenced this issue Aug 10, 2021
…nicolas-grekas)

This PR was merged into the 5.3 branch.

Discussion
----------

[Cache] fix wiring async cache recomputing in debug mode

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #42408
| License       | MIT
| Doc PR        | -

Commits
-------

db60d1f [Cache] fix wiring async cache recomputing in debug mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0