Project

General

Profile

Actions

Bug #20969

closed

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

Added by Christian Kuhn over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
-
Start date:
2010-08-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

15417_01.diff (638 Bytes) 15417_01.diff Administrator Admin, 2010-08-10 21:52
15417_01_4.3.diff (638 Bytes) 15417_01_4.3.diff Administrator Admin, 2010-08-10 21:53
15417_01_test.diff (1.05 KB) 15417_01_test.diff Administrator Admin, 2010-08-10 21:53
15417_01_test_4.3.diff (958 Bytes) 15417_01_test_4.3.diff Administrator Admin, 2010-08-10 21:53
Actions #1

Updated by Christian Kuhn over 14 years ago

  • trunk rev. 8564
  • 4.4 rev. 8565
  • 4.3 rev. 8566
Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF