Open
Description
We use oro platform version 2.6.*
Unfortently I can not check on new version of oro/platform.
We encountered an issue with Flash messages.
Steps to reproduce:
- Download some file from the page, in our case, a link from the grid.
- Open another page
- Perform an action that redirects the user to another page and shows the user a flash message.
Result
Flash message isn't displayed
Expected result
Flash message is displayed on the current page
In our case, this is because, after clicking on the download link, the oroui/js/app/views/page/messages-view
component receives the beforeunload event and switches to pageIsGoingToReload
mode. As a result, flash messages are opened only on the next page after the one on which they should be shown.
Has anyone encountered such an issue and are there any solutions?
Thanks