[BUGFIX] Properly handle shortcuts for creating new records
When creating bookmarks to the "new" view in FormEngine, those bookmark previously did not show up in the toolbar list, because the parent page access check failed. This is now fixed by also resolving the parent page for new record bookmarks properly. Additionally the shortcut title for those use cases does now match the title, displayed in FormEngine. Resolves: #97655 Releases: main, 11.5 Change-Id: If62391bffe4126c746b6c5650d1aa9d0821f2960 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74741 Tested-by:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de>
Showing
- typo3/sysext/backend/Classes/Backend/Shortcut/ShortcutRepository.php 15 additions, 8 deletions...t/backend/Classes/Backend/Shortcut/ShortcutRepository.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 35 additions, 0 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Tests/Functional/Backend/Fixtures/ShortcutsAddedResult.csv 8 additions, 7 deletions...ests/Functional/Backend/Fixtures/ShortcutsAddedResult.csv
- typo3/sysext/backend/Tests/Functional/Backend/Fixtures/ShortcutsBase.csv 5 additions, 4 deletions...ckend/Tests/Functional/Backend/Fixtures/ShortcutsBase.csv
- typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php 11 additions, 2 deletions...ts/Functional/Backend/Shortcut/ShortcutRepositoryTest.php
Please register or sign in to comment