contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
123 stars 58 forks source link

Prevent message-stack from being consumed before reload #1692

Closed martinschumann closed 5 years ago

martinschumann commented 5 years ago

Messages get lost e.g. in the backend user profile when purging session and cache data, when Contao\Message::generate() is called with it's underlying flash message in post submits with subsequent reload.

In Contao 3 excluding post submits from message consumption resides in Contao\Message::generate().