Bug #16831
closedDisable clearing the cache in Draft workspace
0%
Description
Functions clear_cache and clear_cacheCmd in t3lib/class.t3lib_tcemain.php shouldn't clear any page cache when working in Draft workspace. Current implementation clears the cache when working in Draft workspace.
There should be added something like:
if($GLOBALS['BE_USER']->workspace<0 && empty($_params->cmdmap))
{
// Don't clear the cache
}
The other part of IF is necessary to allow clearing the cache when publishing from Draft to Live workspace.
(issue imported from #M4739)
Updated by John Angel almost 18 years ago
Is it possible to fix this for 4.1?
Note: I'm not 100% sure about "if" clause above (generally it works), should be checked.
Updated by Dmitry Dulepov almost 13 years ago
- Project changed from TYPO3 Core to 624
- Target version deleted (
0)
Could workspace guys check that this is still actual, please? :)
Updated by Tolleiv Nietsch almost 13 years ago
- Status changed from New to Accepted
- PHP Version deleted (
4)
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Benni Mack almost 5 years ago
- Status changed from Accepted to Closed
We have checks that only records with a valid "pageId" are flushed, (exactly with these kind of if statements, but in a different place, also considering cache tags). since at least TYPO3 6.0. I'll close this now. If you feel differently, let me know, then I will re-open the issue.