Skip to content

Conversation

@dmitryuk
Copy link
Contributor

@dmitryuk dmitryuk commented Dec 2, 2025

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #...
License MIT

After PR #61127 merged NullAdapter still doesn't work as taggable. After tagging there is an error

Cache item "tag1" comes from a non tag-aware pool: you cannot tag it.

Psalm must fail here same as https://github.com/symfony/symfony/blob/8.1/src/Symfony/Component/Cache/Adapter/AbstractTagAwareAdapter.php#L69
image

@carsonbot carsonbot added this to the 7.4 milestone Dec 2, 2025
@dmitryuk dmitryuk force-pushed the fix-nullable-adapter branch 2 times, most recently from 938325b to 9c05576 Compare December 2, 2025 03:54
@OskarStark OskarStark changed the title [Cache] Fix nullableAdapter must set taggable [Cache] Fix NullAdapter must set taggable Dec 2, 2025
@nicolas-grekas
Copy link
Member

Thank you @dmitryuk.

@nicolas-grekas nicolas-grekas merged commit 17c7150 into symfony:7.4 Dec 2, 2025
This was referenced Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants