[FEATURE] Allow placeholders in Backend URLs
This change introduces a Backend Route Result, similar to the Frontend Route Result object, using symfony's native URL routing component in TYPO3 Backend now, to allow to use placeholders in the URL. The Backend Route Result now contains the resolved Route object and the arguments defined in the Route, which are then resolved during the PSR-15 middleware when the Router kicks in. Note: In a later stage Router->matchRequest() will be deprecated. Resolves: #99234 Releases: main Change-Id: Id2030f8fe17457ea3791fdf4b88a375cc93ffd39 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76865 Reviewed-by:Susanne Moog <look@susi.dev> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 10 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/backend/Classes/Backend/Shortcut/ShortcutRepository.php 3 additions, 3 deletions...t/backend/Classes/Backend/Shortcut/ShortcutRepository.php
- typo3/sysext/backend/Classes/Middleware/BackendRouteInitialization.php 7 additions, 3 deletions...backend/Classes/Middleware/BackendRouteInitialization.php
- typo3/sysext/backend/Classes/Routing/RouteResult.php 82 additions, 0 deletionstypo3/sysext/backend/Classes/Routing/RouteResult.php
- typo3/sysext/backend/Classes/Routing/Router.php 21 additions, 15 deletionstypo3/sysext/backend/Classes/Routing/Router.php
- typo3/sysext/backend/Classes/Routing/UriBuilder.php 32 additions, 19 deletionstypo3/sysext/backend/Classes/Routing/UriBuilder.php
- typo3/sysext/backend/Classes/ServiceProvider.php 2 additions, 1 deletiontypo3/sysext/backend/Classes/ServiceProvider.php
- typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php 6 additions, 1 deletion...end/Tests/Functional/Authentication/PasswordResetTest.php
- typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php 9 additions, 1 deletion...ts/Functional/Backend/Shortcut/ShortcutRepositoryTest.php
- typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php 7 additions, 0 deletions...sext/backend/Tests/Functional/Clipboard/ClipboardTest.php
- typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php 2 additions, 1 deletion...end/Tests/Functional/Controller/BackendControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php 14 additions, 15 deletions...ests/Functional/Controller/EditDocumentControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php 1 addition, 1 deletion.../Functional/Controller/MfaConfigurationControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php 1 addition, 1 deletion...backend/Tests/Functional/Controller/MfaControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php 1 addition, 1 deletion...nd/Tests/Functional/Controller/MfaSetupControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php 2 additions, 1 deletion...sts/Functional/Controller/ResetPasswordControllerTest.php
- typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php 2 additions, 1 deletion...nd/Tests/Functional/Controller/ShortcutControllerTest.php
- typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php 14 additions, 7 deletions...ests/Functional/Middleware/BackendModuleValidatorTest.php
- typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php 29 additions, 18 deletionstypo3/sysext/backend/Tests/Functional/Routing/RouterTest.php
- typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php 1 addition, 1 deletion...Template/Components/Buttons/Action/ShortcutButtonTest.php
Please register or sign in to comment