platform icon indicating copy to clipboard operation
platform copied to clipboard

Flash messages do not work after loading a file from a page

Open pro2s opened this issue 6 years ago • 1 comments

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:

  1. Download some file from the page, in our case, a link from the grid.
  2. Open another page
  3. 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

pro2s avatar Oct 17 '19 20:10 pro2s

Internal reference: BAP-19318

mbessolov avatar Oct 18 '19 17:10 mbessolov