[MXS-4299] Unsaved query tab isn't saved when the current active query tab is not the one has unsaved changes Created: 2022-09-16  Updated: 2022-10-03  Resolved: 2022-10-03

Status: Closed
Project: MariaDB MaxScale
Component/s: maxgui
Affects Version/s: 22.08.0, 22.08.1
Fix Version/s: 22.08.2

Type: Bug Priority: Minor
Reporter: Duong Thien Ly Assignee: Duong Thien Ly
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-167

 Description   

Steps to reproduce:

  1. Create two query tabs
  2. Write "SELECT 1" for the first query tab and "SELECT 2" for the second query tab
  3. In the second query tab, click delete the first query tab.
  4. Unsaved changes dialog is opened. Click the Save button to confirm saving the content of query tab 1 to a file.

Expect behavior:
A file named "Query Tab 1" is downloaded to the user's disk with "SELECT 1" as the content.

Actual behavior:
"Query Tab 2" is actually downloaded.


Generated at Thu Feb 08 04:27:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.