You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->flashMessenger()->addSuccessMessage('You have successfully logged in.');
Forwarded Index Controller.
no messages
$this->flashMessenger()->getSuccessMessages();
Below works without vital namespace information.
$this->flashMessenger()->addMessage('You have successfully logged in.');
Forwarded Index Controller.
$this->flashMessenger()->getMessages();
Comment
User: @mwillbanks
Created On: 2015-10-01T19:09:16Z
Updated At: 2015-10-01T19:09:16Z
Body
Hello @tomshaw I wanted to make sure I am understanding, you're stating that when you forward the controller (not redirect) that the flash messages are unavailable when using something like the addSuccessMessage vs. the addMessage. Is this a correct statement? The general case works properly but the specific case is not?
Comment
User: @tomshaw
Created On: 2015-10-01T19:14:56Z
Updated At: 2015-10-01T19:14:56Z
Body
Ignore forward. Redirect after a successful login.
Comment
User: @tomshaw
Created On: 2015-10-01T19:20:11Z
Updated At: 2015-10-01T19:20:11Z
Body
Using an ajax action I need not only the message but message type, error, success, info etc.
closing as it is unclear what the flow of "ajax action" meant. please re-create issue if problem persist with better steps to reproduce, failing test case will be better.
This issue has been moved from the
zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7632
User: @tomshaw
Created On: 2015-09-29T20:01:05Z
Updated At: 2015-11-06T22:24:52Z
Body
Login controller:
Forwarded Index Controller.
Below works without vital namespace information.
Forwarded Index Controller.
Comment
User: @mwillbanks
Created On: 2015-10-01T19:09:16Z
Updated At: 2015-10-01T19:09:16Z
Body
Hello @tomshaw I wanted to make sure I am understanding, you're stating that when you forward the controller (not redirect) that the flash messages are unavailable when using something like the addSuccessMessage vs. the addMessage. Is this a correct statement? The general case works properly but the specific case is not?
Comment
User: @tomshaw
Created On: 2015-10-01T19:14:56Z
Updated At: 2015-10-01T19:14:56Z
Body
Ignore forward. Redirect after a successful login.
Comment
User: @tomshaw
Created On: 2015-10-01T19:20:11Z
Updated At: 2015-10-01T19:20:11Z
Body
Using an ajax action I need not only the message but message type, error, success, info etc.
Originally posted by @GeeH at zendframework/zend-mvc#168
The text was updated successfully, but these errors were encountered: