Issue Bug Closed

#20969[Caching framework] DbBackend has() returns false for entries with unlimited lifetime

Christian Kuhn 08/10/10, 21:48 updated 10/02/18, 12:26

Description

This is an SVN patch request

Type: bugfix

Branches: trunk, 4.4, 4.3

BT:

Problem:
DbBackend has() returns FALSE for entries with unlimited (0) lifetime. The constructed where clause misses this case.

Solution:
Add proper case to where clause.

How to test:
Apply _test and watch it fail. Apply patch and see that it works.

Notes:
4.3 needs a slightly different test, while code change in dbbackend is identical.

(issue imported from #M15417)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.