Breaking: #88574 - 4th parameter of PageRepository->enableFields removed
See forge#88574
Description
The fourth parameter of
TYPO3\
was meant to filter out versioned records
which are in Live Workspace (versioning, not workspaces). Although the method has largely been superseded
with Doctrine DBAL's Restrictions, it is still used in some places.
With the introduction of the Context API, new PageRepository instances can be created to fetch multiple variants of certain aspects, instead of modifying existing public properties. Therefore the fourth argument has been removed.
Impact
Calling the method above with the fourth parameter set to true has no effect anymore, and will
trigger a PHP
E_
error.
Affected Installations
Any TYPO3 installation dealing with non-workspace versioning in Frontend requests with third-party extension still relying on non-workspace versioning.
Migration
The fourth parameter on any method call can be removed (if set to "false"), or should be replaced with a
separate instance of
\TYPO3\
with a custom Context.