inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

[Bug] - Unwanted behavior when aborting the log preloading dialog #1582

Closed danipaniii closed 1 year ago

danipaniii commented 1 year ago

Describe the bug When aborting the log preloading dialog and after that opening the download support archive dialog, the log preloading dialog will not have been cancelled with closing the dialog window, which will result the dialog to be shown, even if the download support archive dialog has been opened. After then the request has been completed by axios, the log preloading dialog will be shown and after that the download support archive dialog will be executed.

To Reproduce Steps to reproduce the behavior:

  1. Open the log preloading dialog (Maybe you need to generate many error logs, for it to have a longer loading time -> this is better for seeing the bug)
  2. Abort the log preloading dialog
  3. Open the support archive dialog
  4. You will see the log preloading dialog, being shown
  5. After it finished loading the log preloaded logs will be shown
  6. The download support archive dialog will be shown and the archive will be downloaded

Expected behavior When the dialog gets closed, also the requests with it should be cancelled.