Bug #95600
closedCache clear after publishing from workspace doesn't work
100%
Description
When a record from a workspace is published, the FE cache is not cleared at all. This worked in previous TYPO3 versions. For example if a tt_content record is published the cache of the page needs to be cleared. Problem is as follows.
In TYPO3\CMS\Workspaces\Hook\DataHandlerHook::version_swap() the record which is published is registered for cache clearing with $dataHandler->registerRecordIdForPageCacheClearing($table, $id);
The DataHandler retrieves all neccessary cache tags and clear cache commands with the prepareCacheFlush() method. But this method does nothing if the user is currently in a workspace other than the live woorkspace. In previous versions there was no check for the workspace.
Updated by Gerrit Code Review about 3 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/+/71799
Updated by Gerrit Code Review about 3 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/+/71799
Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71920
Updated by Benjamin Franzke about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e9dae46a3dda8962e6b4233901ab9e72bfd76b19.