Actions
Bug #21978
closedt3lib_cache_backend_dbbackendtestcase does not reflect current db backend table definitions
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
Actions