Bug #34117 » 34117_v1.patch
Classes/Service/GridData.php | ||
---|---|---|
protected function setDataArrayIntoCache (array $versions, $filterTxt) {
|
||
if (TYPO3_UseCachingFramework === TRUE) {
|
||
$hash = $this->calculateHash($versions, $filterTxt);
|
||
$content = serialize($this->dataArray);
|
||
$this->workspacesCache->set($hash, $content, array($this->currentWorkspace));
|
||
$this->workspacesCache->set($hash, $this->dataArray, array($this->currentWorkspace));
|
||
}
|
||
}
|
||
... | ... | |
$content = $this->workspacesCache->get($hash);
|
||
if ($content != FALSE) {
|
||
$this->dataArray = unserialize($content);
|
||
$this->dataArray = $content;
|
||
$cacheEntry = TRUE;
|
||
}
|
||
}
|
Classes/Service/Tcemain.php | ||
---|---|---|
try {
|
||
$GLOBALS['typo3CacheFactory']->create(
|
||
'workspaces_cache',
|
||
't3lib_cache_frontend_StringFrontend',
|
||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['frontend'],
|
||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['backend'],
|
||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['sys_workspace_cache']['options']);
|
||
} catch (t3lib_cache_exception_DuplicateIdentifier $e) {
|