Bug #75294
closed
TCEMAIN.clearCache_pageGrandParent = 1 does not work
Added by Bernhard Eckl over 8 years ago.
Updated over 4 years ago.
Category:
DataHandler aka TCEmain
Description
I have set TCEMAIN.clearCache_pageGrandParent = 1 in Page Tsconfig because I have „one pager pages“. But it does not clear the cache of the parent page, also not if using it in User Tsconfig.
Hi Bernhard,
if i understand the code correctly, then:
this command clears the cache of the _grand_Parent page of the page beeing edited.
But beware: only if you edit the page properties or the page language overlay properties.
NOT if you edit content within a page. In this case the setting has no effect.
Could be stated more clearly in the docs.
See typo3/sysext/core/Classes/DataHandling/DataHandler.php, about line 7855.
Setting
TCEMAIN.clearCacheCmd = [pageid]
however does work for all kinds of tables.
Okay, so there is currently no way to clear the cache of the parent page when tt_content is edited? TCEMAIN.clearCacheCmd = [pageid] is not usable becaus I would have to set this for every page.
- Related to Feature #32996: TCEMAIN.clearCache_pageGrandParent for records added
- Category set to DataHandler aka TCEmain
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF