Ticket #189 (new defect)

Opened 3 years ago

renderAction doesn't clear flash messages

Reported by: fiosca Assigned to:
Priority: minor Milestone: 1.0.1
Component: Action Controller Keywords: flash, renderAction


Check controller below:

class Core_TestController extends ApplicationController? {

function index() {



function show_flash() {

// Empty


function create() {

$this->flashnotice? = "Hello!"; $this->redirectTo(array("action" => "index"));



if you redirect to action "create", controller sets a flash message and then redirect to index action. Index action shows empty "show_flash" action, which just does nothing. At the end of the execution, flash message is not cleared.