Project

General

Profile

Actions

Bug #21978

closed

t3lib_cache_backend_dbbackendtestcase does not reflect current db backend table definitions

Added by Christian Kuhn almost 15 years ago. Updated over 14 years ago.

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

0%

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

Description

Type: Bugfix, nobrainer

Branches: trunk, 4.3

Problem:
The db backend defines those fields for cache tables:
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(128) DEFAULT '' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
content mediumtext,
lifetime int(11) unsigned DEFAULT '0' NOT NULL,
But the testcase uses this definiton:
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(250) DEFAULT '' NOT NULL,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
content mediumtext,
tags mediumtext,
lifetime int(11) unsigned DEFAULT '0' NOT NULL,

Solution:
- Change identifier varchar(250) to 128
- Remove tags field

(issue imported from #M13270)


Files

13270.diff (777 Bytes) 13270.diff Administrator Admin, 2010-01-17 18:01
Actions #1

Updated by Christian Kuhn almost 15 years ago

  • Committed to trunk rev. 6807
  • Committed to TYPO3_4-3 rev. 6808
Actions

Also available in: Atom PDF