Issue Bug Closed

#92824AbstractController - redirect and forward method deprecated without a migration?

Mati Sediqi 11/11/20, 19:09 updated 01/09/21, 16:55

Description

I was cloning a project’s extension today while I’ve noticed that inside my Controller (for a BE module) has a deprecated method “$this->redirect”. While checking the changelog of 10.2, as commented in the core, I didn’t found the log nor a migration for that.

The same goes for the AbstractController->forward/->redirectToUri methods.
Comment: @deprecated since TYPO3 10.2 and will be removed in version 11.0.

Taking a look at the docs here https://docs.typo3.org/m/typo3/book-extbasefluid/master/en-us/7-Controllers/1-Creating-Controllers-and-Actions.html#flow-pattern-editing-an-existing-domain-object
I’ve also noticed it also calls the (deprecated?) redirect method in the updateAction-method, but nothing added therefore I guess it might got lost and never documented..

Best regards

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.