Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthormerindol
     

    Hi.

    I had a problem : flash[] object not being cleared.

    I just spotted why : render() (in my case it's renderAction) performs a _handleFlashAttribute(), if it's not already done, and then, at the end of the current action, _handleFlashAttribute() is processed again without any check because it's called by a afterFilter().

    So, because of the double _handleFlashAttribute(), the flash[] array keeps going back to the _SESSION and never gets deleted.

    Currently I have to do this in order to bypass the issue : $this->renderAction( 'listing' ); $this->skipAfterFilter( '_handleFlashAttribute' );

    Is it intended?