Feature #32996

TCEMAIN.clearCache_pageGrandParent for records

Added by Urs Weiss almost 10 years ago. Updated over 1 year ago.

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

0%

Estimated time:
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


Files

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

Related issues

Related to TYPO3 Core - Bug #51051: DataHandler::clear_cache() does not consider workspacesClosedOliver Hader2013-08-13

Actions
Related to TYPO3 Core - Bug #75294: TCEMAIN.clearCache_pageGrandParent = 1 does not workClosed2016-03-29

Actions
#1

Updated by Alexander Opitz almost 7 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 over 6 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 over 4 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 over 4 years ago

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

Updated by Susanne Moog almost 4 years ago

  • Category set to DataHandler aka TCEmain
#6

Updated by Benni Mack over 1 year ago

  • Status changed from New to Closed

This is fixed now 2 days ago with #75294. Will be included in TYPO3 v9.5.15 and TYPO3 v10.x

Also available in: Atom PDF