Skip to content

[bug] broken flash messages #14

Open
@Ciki

Description

@Ciki

If I use sth. like this in presenter

$this->flashMessage('test');
$this->redirect('this');

the flash message will not show up as corresponding snippet (flashes) is not set to be redrawn after forwarding.

The workaround is to check for _fid in startup method

if (!empty($this->params[self::FLASH_KEY])) {
    $this->redrawControl('flashes');
}

but I lost more than hour to track this down..would be nice to mention this at least somewhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions