Bug #61017

TCEMAIN.clearCacheCmd does not trigger

Added by Andreas Rothenhäuser 12 months ago. Updated 28 days ago.

Status:Under Review Start date:2014-08-18
Priority:Must have Due date:
Assigned To:Alexander Opitz % Done:

0%

Category:DataHandler aka TCEmain Spent time: -
Target version:6.2.15
TYPO3 Version:6.2 Is Regression:Yes
PHP Version:5.3 Sprint Focus:Stabilization Sprint
Complexity:medium

Description

the deletion of a (tt_news-) record does not trigger TCEMAIN.clearCacheCmd, although deletion is quite an important change to any record in my oppinion.

problem occurrs with:
typo3 6.2.0


Related issues

related to Core - Bug #52235: Timeout when copying pages recursively due to cache-clear... Resolved 2013-09-24

History

#1 Updated by Markus Klein 12 months ago

  • Status changed from New to Needs Feedback

Please update to 6.2.4 and try again. There have been hundreds of bugfixes between 6.2.0 and 6.2.4.

#2 Updated by Andreas Rothenhäuser 11 months ago

Tried it again with 6.2.4 with same output.

#3 Updated by Markus Klein 11 months ago

  • Status changed from Needs Feedback to New
  • Target version set to next-patchlevel

Thanks for testing.

#4 Updated by Markus Klein 11 months ago

  • Category changed from TypoScript to DataHandler aka TCEmain
  • Status changed from New to Accepted
  • Priority changed from Should have to Must have

#5 Updated by Markus Klein 11 months ago

  • Complexity set to medium
  • Is Regression changed from No to Yes

The problem here is, that the DataHandler fails to fetch the TSconfig of the page, where the record originally resided.
DataHandler::processClearCacheQueue() calls BackendUtility::getTSCpid($table, $uid, '') which does not return a PID.
It internally relies on BackendUtility::getTSconfig_pidValue(), which tries to load (the just deleted) record and fails to do so.

This is a regression to #52235

#6 Updated by Riccardo De Contardi 3 months ago

  • Status changed from Accepted to Needs Feedback
  • Assigned To set to Andreas Rothenhäuser

#7 Updated by Riccardo De Contardi 3 months ago

Sorry I missed the description:

I set up a minimal "enviroment" with tt_news and TYPO3 6.2.12
My pagetree
[0]Home page

[9]List news

[14]Detail

[13]News folder

I put some news record in "[13]News folder" and they become visible in FE when I set on the TSConfig field of "[13]News folder":

TCEMAIN.clearCacheCmd=9,14

Do you think I should do something else to reproduce the issue? Do you still experience it? Or it could be closed?
Thank you for your feedback

#8 Updated by Markus Klein 3 months ago

  • Status changed from Needs Feedback to Accepted
  • Target version changed from next-patchlevel to 6.2.13
  • Sprint Focus set to Stabilization Sprint

Riccardo, this is about deleting a record.

#9 Updated by Riccardo De Contardi 3 months ago

Sorry, I read in a rush :)

#10 Updated by Alexander Opitz 2 months ago

While reading the source, moving a record have also an issue, only destination gets cleared.

#11 Updated by Gerrit Code Review 2 months ago

  • Status changed from Accepted 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 http://review.typo3.org/39766

#12 Updated by Alexander Opitz about 1 month ago

  • Status changed from Under Review to In Progress
  • Assigned To changed from Andreas Rothenhäuser to Alexander Opitz

#13 Updated by Gerrit Code Review about 1 month ago

  • Status changed from In Progress to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39766

#14 Updated by Gerrit Code Review about 1 month ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39766

#15 Updated by Gerrit Code Review about 1 month ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39766

#16 Updated by Gerrit Code Review about 1 month ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39766

#17 Updated by Alexander Opitz about 1 month ago

  • Target version changed from 6.2.13 to 6.2.14

#18 Updated by Gerrit Code Review 28 days ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39766

#19 Updated by Alexander Opitz 28 days ago

  • Target version changed from 6.2.14 to 6.2.15

Also available in: Atom PDF