[BUGFIX] Bring back findByUid behavior for L>0
findByUid as well as getObjectByIdentifier will always overlay records to a language from the global context. This solves the problem with controller arguments not being translated, when default language record was used in the URL. Resolves: #86619 Releases: master Related: #82363 Change-Id: I823cdc1118a8217e306473b1596d349cc7ca08d4 Reviewed-on: https://review.typo3.org/58635 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Alexander Grein <alexander.grein@gmail.com> Tested-by:
Alexander Grein <alexander.grein@gmail.com> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/core/Documentation/Changelog/9.5/Important-82363-MakeExtBaseTranslationHandlingConsistentWithTyposcript.rst 10 additions, 9 deletions...akeExtBaseTranslationHandlingConsistentWithTyposcript.rst
- typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php 1 addition, 0 deletionstypo3/sysext/extbase/Classes/Persistence/Generic/Backend.php
- typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php 9 additions, 4 deletions...se/Classes/Persistence/Generic/Storage/Typo3DbBackend.php
- typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Controller/BlogController.php 6 additions, 3 deletions...nsions/blog_example/Classes/Controller/BlogController.php
- typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php 120 additions, 0 deletions...ctional/Mvc/Controller/ControllerArgumentsMappingTest.php
- typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php 28 additions, 6 deletions...e/Tests/Functional/Persistence/QueryLocalizedDataTest.php
Please register or sign in to comment