[!!!][TASK] Remove 4th parameter of enableFields
Since Versioning is completely handled via the Context API and set within PageRepository directly since TYPO3 v9, using the fourth parameter would result in an invalid scenario. Instead PageRepository->where_hid_del in a live scenario now always contains (pid!=-1) which filters out all non-versioned records. This is a breaking change to avoid confusion, however in regular scenarios this does not affect the system, as PageRepository->versionOL() filters out these cases in live workspace anyways. Resolves: #88574 Releases: master Change-Id: I538c04997cb67e30c58a4dfa515acd751f868e9c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61073 Tested-by:Daniel Goerz <daniel.goerz@posteo.de> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Documentation/Changelog/master/Breaking-88574-4thParameterOfPageRepository-enableFieldsRemoved.rst 40 additions, 0 deletions...8574-4thParameterOfPageRepository-enableFieldsRemoved.rst
- typo3/sysext/frontend/Classes/Page/PageRepository.php 5 additions, 6 deletionstypo3/sysext/frontend/Classes/Page/PageRepository.php
- typo3/sysext/frontend/Tests/Functional/Page/PageRepositoryTest.php 2 additions, 32 deletions...ext/frontend/Tests/Functional/Page/PageRepositoryTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php 6 additions, 0 deletions...ion/ExtensionScanner/Php/MethodArgumentDroppedMatcher.php
Please register or sign in to comment