[!!!][FEATURE] Use LanguageAspect in QuerySettings for Extbase
This change adapts the QuerySettings functionality for Extbase in v12 to allow to work with a LanguageAspect which contains all information regarding the language ID and the overlay mode. For this reason, the following method definitions are removed within Extbase's QuerySettingsInterface - setLanguageOverlayMode() - getLanguageOverlayMode() - setLanguageUid() - getLanguageUid() However, it is still possible to use the existing methods on the QuerySettings implementation of TYPO3 for TYPO3 v12. It is now recommended to use ->getLanguageAspect() and ->setLanguageAspect(). This change is a pre-requisite to extend language handling across TYPO3 and Extbase. Resolves: #97926 Releases: main Change-Id: I38a685fcfdb98d5ec3c82b02e6cc78df12062fa0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75093 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 5 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Documentation/Changelog/12.0/Breaking-97926-ExtbaseQuerySettingsMethodsRemoved.rst 59 additions, 0 deletions...2.0/Breaking-97926-ExtbaseQuerySettingsMethodsRemoved.rst
- typo3/sysext/core/Documentation/Changelog/12.0/Feature-97926-ConfigureExtbasePersistenceLanguageViaLanguageAspect.rst 36 additions, 0 deletions...-ConfigureExtbasePersistenceLanguageViaLanguageAspect.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php 11 additions, 1 deletiontypo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php 13 additions, 5 deletions...extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
- typo3/sysext/extbase/Classes/Persistence/Generic/QuerySettingsInterface.php 13 additions, 22 deletions...se/Classes/Persistence/Generic/QuerySettingsInterface.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php 22 additions, 10 deletions...se/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php 11 additions, 10 deletions...lasses/Persistence/Generic/Storage/Typo3DbQueryParser.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Typo3QuerySettings.php 55 additions, 48 deletions...xtbase/Classes/Persistence/Generic/Typo3QuerySettings.php
- typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php 35 additions, 90 deletions...e/Tests/Functional/Persistence/QueryLocalizedDataTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php 22 additions, 66 deletions.../extbase/Tests/Functional/Persistence/TranslationTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php 2 additions, 0 deletions...s/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php 7 additions, 9 deletions...it/Persistence/Generic/Storage/Typo3DbQueryParserTest.php
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php 3 additions, 2 deletions...Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php
Please register or sign in to comment