Project

General

Profile

Actions

Bug #21690

closed

[Caching framework] API usage: Make sure lifetime is NULL or integer

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-08
Due date:
% Done:

0%

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

Description

The following patch will be committed in 72 hours if nobody objects:

Type: Bug

Branches: trunk, 4.4, 4.3

BT:

Problem:
The set() API of cache frontends expects lifetime to be either NULL or an integer. This is not always the case in core: If the lifetime comes from TS settings its type is string.

Solution:
Use intval() lifetimes.

(issue imported from #M15393)


Files

15393_01.diff (1.52 KB) 15393_01.diff Administrator Admin, 2010-08-08 13:53
Actions #1

Updated by Christian Kuhn over 14 years ago

  • trunk rev. 8572
  • 4.4 rev. 8573
  • 4.3 rev. 8574
Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF