Bug #75294
closedTCEMAIN.clearCache_pageGrandParent = 1 does not work
100%
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.
Updated by Franz Kugelmann over 8 years ago
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.
Updated by Bernhard Eckl over 7 years ago
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.
Updated by Riccardo De Contardi over 7 years ago
- Related to Feature #32996: TCEMAIN.clearCache_pageGrandParent for records added
Updated by Susanne Moog almost 7 years ago
- Category set to DataHandler aka TCEmain
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63619
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63619
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63736
Updated by Benni Mack over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a025305b4d460899ccf4ed8c0f93f95d2a0eab71.