[BUGFIX] Fix behaviour of useDefaultLanguageRecord
useDefaultLanguageRecord is documented to use the default record uid by default. The actual behaviour is the opposite. This change introduces a test and the change, that fixes the evaluation of useDefaultLanguageRecord in the code. Resolves: #87948 Releases: master, 9.5 Change-Id: I9633092089cc74e8a837bf0bfe27e6b3b8d0d229 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60297 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 25 additions, 8 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php 68 additions, 1 deletion...kend/Tests/Unit/Controller/EditDocumentControllerTest.php
Please register or sign in to comment