Skip to content

Fix metadata cache compatibility layer#8722

Merged
greg0ire merged 2 commits intodoctrine:2.9.xfrom
alcaeus:fix-metadata-cache-clear
May 25, 2021
Merged

Fix metadata cache compatibility layer#8722
greg0ire merged 2 commits intodoctrine:2.9.xfrom
alcaeus:fix-metadata-cache-clear

Conversation

@alcaeus
Copy link
Copy Markdown
Member

@alcaeus alcaeus commented May 25, 2021

Fixes #8721.

This updates the BC layer to always return a legacy cache when a PSR-6 cache is configured and vice-versa.

@alcaeus alcaeus added the Bug label May 25, 2021
@alcaeus alcaeus added this to the 2.9.2 milestone May 25, 2021
@alcaeus alcaeus self-assigned this May 25, 2021
@alcaeus alcaeus force-pushed the fix-metadata-cache-clear branch from 7bc47cd to e42b3d6 Compare May 25, 2021 08:38
@alcaeus
Copy link
Copy Markdown
Member Author

alcaeus commented May 25, 2021

Test failure in ConfigurationTest is due to an issue in doctrine/cache: doctrine/cache#376

@greg0ire greg0ire merged commit 56bdb44 into doctrine:2.9.x May 25, 2021
@greg0ire
Copy link
Copy Markdown
Member

Thanks @alcaeus !

@alcaeus alcaeus deleted the fix-metadata-cache-clear branch May 25, 2021 11:11
@stephanvierkant
Copy link
Copy Markdown

Can someone create a new release? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when clearing metadata cache

4 participants