Hallo,
ich möchte in einer eigenen Extension/Controller-Action einen Redirect nach felogin/login einbauen:
bis v11 ging das mit:
$this->redirect('login', 'Login', 'felogin', null, 5);
Ab v12 wird ein Response-Objekt als Rückgabe erwartet:
return (new ForwardResponse('login'))
->withControllerName('Login')
->withExtensionName('felogin');
Ich bekomme nun aber eine Exception
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException
You have requested a non-existent service "".
Hat jemand einen Rat?
Danke!