[TYPO3-core] FYI72 Bug #13270: t3lib_cache_backend_dbbackendtestcase does not reflect current db backend table definitions
Christian Kuhn
lolli at schwarzbu.ch
Wed Jan 20 21:30:37 CET 2010
* Committed to trunk rev. 6807
* Committed to TYPO3_4-3 rev. 6808
Regards
Christian
Christian Kuhn wrote:
> The attached patch will be committed to SVN trunk and TYPO3_4-3 in 72
> hours if nobody objects.
>
> Type: Bugfix, nobrainer
>
> BT reference: http://bugs.typo3.org/view.php?id=13270
>
> Branches: trunk, TYPO3_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
More information about the TYPO3-team-core
mailing list