Bug #75294

TCEMAIN.clearCache_pageGrandParent = 1 does not work

Added by Bernhard Eckl about 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2016-03-29
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Feature #32996: TCEMAIN.clearCache_pageGrandParent for records New 2012-01-05

History

#1 Updated by Franz Kugelmann about 3 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.

#2 Updated by Bernhard Eckl about 2 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.

#3 Updated by Riccardo De Contardi about 2 years ago

  • Related to Feature #32996: TCEMAIN.clearCache_pageGrandParent for records added

#4 Updated by Susanne Moog over 1 year ago

  • Category set to DataHandler aka TCEmain

Also available in: Atom PDF