Project

General

Profile

Actions

Bug #75294

closed

TCEMAIN.clearCache_pageGrandParent = 1 does not work

Added by Bernhard Eckl over 8 years ago. Updated over 4 years ago.

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

100%

Estimated time:
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 1 (0 open1 closed)

Related to TYPO3 Core - Feature #32996: TCEMAIN.clearCache_pageGrandParent for recordsClosed2012-01-05

Actions
Actions #1

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.

Actions #2

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.

Actions #3

Updated by Riccardo De Contardi over 7 years ago

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

Updated by Susanne Moog almost 7 years ago

  • Category set to DataHandler aka TCEmain
Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

Updated by Benni Mack over 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF