Bug #55937
FlashMessage queue is lost
Status: | New | Start date: | 2014-02-12 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Session | |||
Target version: | - | |||
PHP Version: | 5.4 | Complexity: | ||
Has patch: | No | Affected Flow version: | Flow 2.0.0 |
Description
I add a FlashMessage and the redirect.
If (condition==A) redirect to A or else redirect to B.
The error is that flashMessage queue i empty in A but shows my message in B.
I do output flashmessages, but queue is simply truncated.
$this->addFlashMessage($this->translator->translateById('cliologin.userpassnotfound',array(),null,null,'Main','ClioOnline.ABO2'),'',Message::SEVERITY_ERROR);
if($this->logindata->getLoginprovider() == 'DefaultProvider') {
$this->redirect('login','Standard');
}
else {
$this->redirect('clioLogin');
}
Queue empty at Standard->login but not at Authentication->clioLogin.
I run Flow 2.0.1