Actions
Bug #19366
closedSelecting by tag using wildcards does not work with database disposal of t3lib_cache
Start date:
2008-09-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
This issue concerns only the TYPO3 4.3 development branch.
When trying to select cached records by a tag containing wildcards, the new caching framework does not work for the database disposal.
Example:
$cache = $GLOBALS['TYPO3_CACHE']->create(
'whateverItMightBe',
't3lib_cache_VariableCache',
't3lib_cache_backend_Db',
array(...)
);
$cache->save('elementIdentifier', $content, array('someTag'));
$elements = $cache->loadByTag(array('someTag*'));
The variable $elements will have no items since the asterisk is not handled/converted correctly for the SQL query.
(issue imported from #M9408)
Files
Updated by Oliver Hader about 16 years ago
Committed to Hackontest SVN branch
Still pending for Trunk!
Actions