8000 [Cache] fix saving no-expiry items with ArrayAdapter by philipp-kolesnikov · Pull Request #37671 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Cache] fix saving no-expiry items with ArrayAdapter #37671

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

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

philipp-kolesnikov
Copy link
Contributor
Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #37667
License MIT
Doc PR

0 is a special value that means "infinity".

@alongosz
Copy link

Hi. Our product - eZ Platform - is affected by that as well.
I've checked this fix with our CI and can confirm it solves the issue. Thanks :)

@xabbuh xabbuh added this to the 3.4 milestone Jul 27, 2020
@nicolas-grekas nicolas-grekas changed the title Fixes #37667 [Cache] fix saving no-expiry items with ArrayAdapter Jul 29, 2020
Copy link
Member
@nicolas-grekas nicolas-grekas 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 the fix.
Would it be possible to add another test case in AdapterTestCase that hit the bug without using TagAwareAdapter?

@fabpot
Copy link
Member
fabpot commented Jul 31, 2020

Thank you @philipp-kolesnikov.

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.

6 participants
0