#109524$this->redirect() in an Extbase Controller should accept a Plugin Name
Description
If after getting rid of Switchable Controller Actions you split up your formerly one plugin into several plugin it becomes neccessary to redirect beetween differnt Plugins, as those will be contained in the generated URL parameters.
Currently you have to override $this->redirect() in the controller or return a cutom RedirectResponse.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] $this->redirect() in an Extbase Controller should accept a Plugin Name Resolves: #109524 Releases: main
> Currently you have to override $this->redirect() in the controller or return a cutom RedirectResponse.
.. or build the url and use @$this->redirectToUri()` directly.
Adding the pluginname to the end (only non breaking way) looks kind of weired. I guess we should leave
the current as is and for TYPO3 v15 creating a DTO and a method using the DTO instead to create a redirect
or similar, which could be made in a way to support extbase and non-extbase directly. But that’s not possible
for TYPO3 v14 or v13.
Adding the argument to the end is the only non-breaking way, but start making the api of the method weired.