97674[BUGFIX] Flush pages linking to a record when the record changes
Commit message
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 4
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/74/97674/4 && git checkout FETCH_HEAD - Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/74/97674/4 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Relation chain 4
- main 97436[!!!][FEATURE] Link content elements as records
- main 97675[BUGFIX] Resolve record links in the link preview of the RTE
-
main
97676[BUGFIX] Resolve site of record redirect targets without site
The chain has patch set 2 of 4, the changes above it need a rebase.
-
97674 [BUGFIX] Flush pages linking to a record when the record changes This change
Issues 1
Files 8
- typo3/sysext/core/Classes/Cache/Flush/CacheFlusher.php+5 −0
- typo3/sysext/core/Classes/Cache/Flush/CacheFlushPageResolver.php+22 −0
- typo3/sysext/core/Tests/Functional/Cache/Flush/Fixtures/PageTree.csv+8 −6
- typo3/sysext/core/Tests/Functional/Cache/Flush/CacheFlusherTest.php+5 −0
- typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php+31 −0
- typo3/sysext/frontend/Tests/Functional/Fixtures/tt_content_record_links.csvnew+4 −0
- typo3/sysext/frontend/Tests/Functional/Typolink/DatabaseRecordLinkBuilderTest.php+209 −0
- typo3/sysext/frontend/Tests/Unit/Typolink/DatabaseRecordLinkBuilderTest.php+4 −0
Review log 711
-
Oli Bartsch uploaded patch set 1 11/15/26, 10:40
-
core-ci voted on patch set 1 V +1 11/15/26, 10:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114525
-
Oli Bartsch rebased onto patch set 2
V +111/15/26, 11:01 -
Oli Bartsch uploaded patch set 3 11/15/26, 11:06
-
core-ci voted on patch set 3 V +1 11/15/26, 11:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114534
-
core-ci voted on patch set 2 V +1 11/15/26, 11:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114529
-
Simon Schaufelberger voted on patch set 3 CR +1 V +1 11/16/26, 12:50
-
Benni Mack commented on patch set 3 CR -1 11/17/26, 19:52
on it -
Benni Mack uploaded patch set 4
CR +1V +111/19/26, 11:46 -
core-ci voted on patch set 4 V +1 11/19/26, 11:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115005
-
Benni Mack commented on patch set 4 11/19/26, 12:39
Reply
DoneCacheFlusher now also flushes <table>_<l10n_parent> when a translated record changes (CacheFlushPageResolver::getTranslationParentUid()). Pages render translations under the tag of the default language record, so creating, editing or unhiding a translation now flushes pages linking to the record (and pages showing it as content element). Page translations are left out on purpose. Releases is now main only. Removed the "translations are still not flushed" paragraph from the commit message accordingly.