Prevent Closing the Tab of a Running Report

Description

Referring to Mattermost discussion: https://mattermost.idempiere.org/idempiere/pl/rst69ocygbbfbei53ocb6y4ire

Closing the tab while the report is still running should not be allowed.

Additional small JavaScript error:

  • run any report

  • open the process modal dialog with the re-run button

  • close the whole tab while the dialog is still opened

  • this causes the following JavaScript error in the console: Uncaught TypeError: Cannot set properties of undefined (setting 'busy')

Environment

None

Attachments

1
  • 17 Apr 2023, 06:27 AM

Activity

Peter Takacs 
April 17, 2023 at 6:26 AM
(edited)

Reopening due to a NPE that occurs when the user has an executed report, clicks the refresh button and closes the tab immediately.

Easier to reproduce with slow internet (network throttling). Reproduced in test.idempiere.org:

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created April 12, 2023 at 8:51 AM
Updated June 1, 2023 at 12:17 PM
Resolved April 18, 2023 at 12:09 PM