Feature #32996

TCEMAIN.clearCache_pageGrandParent for records

Added by Urs Weiss over 7 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2012-01-05
Due date:
% Done:

0%

PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

I have several sysfolders where i wanted to clear the page cache automatically for the parent page of the sysfolder if i edited a record within the sysfolder.

In the docs i found the option "TCEMAIN.clearCache_pageGrandParent" which almost did what i want. Unfortunately it only works if a page was edited, but not if a record was edited. So i extended the clear_cache() function to also work with page records (see attached diff).

I took the same name that was used for the pages. Wasn't sure if an separate option would be better.

Thanks
Urs

feature_clearPageCache.diff View (1.35 KB) Urs Weiss, 2012-01-05 15:28


Related issues

Related to TYPO3 Core - Bug #51051: DataHandler::clear_cache() does not consider workspaces Closed 2013-08-13
Related to TYPO3 Core - Bug #75294: TCEMAIN.clearCache_pageGrandParent = 1 does not work New 2016-03-29

History

#1 Updated by Alexander Opitz over 4 years ago

  • Status changed from New to Needs Feedback

Hi,

does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

#2 Updated by Alexander Opitz about 4 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

#3 Updated by Bernhard Eckl about 2 years ago

  • Status changed from Closed to New

Still doesn’t work, e.g. when editing tt_content records. TYPO3 7.6, PHP 7.

#4 Updated by Riccardo De Contardi about 2 years ago

  • Related to Bug #75294: TCEMAIN.clearCache_pageGrandParent = 1 does not work added

#5 Updated by Susanne Moog over 1 year ago

  • Category set to DataHandler aka TCEmain

Also available in: Atom PDF