#19366Selecting by tag using wildcards does not work with database disposal of t3lib_cache
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.