[MXS-4856] GUI failed to create a monitor in a monitored server detail page Created: 2023-11-10  Updated: 2023-11-14  Resolved: 2023-11-14

Status: Closed
Project: MariaDB MaxScale
Component/s: maxgui
Affects Version/s: 2.5.29, 6.4.12, 22.08.10, 23.02.6, 23.08.3
Fix Version/s: 2.5.30, 6.4.13, 22.08.11, 23.02.7, 23.08.4

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

Issue Links:
Blocks
blocks MXS-4572 Improve UX Setting up with GUI Closed

 Description   

When the users are on the server details page,
Steps to reproduce:

  1. Go to a server detail page which is monitored by some monitor
  2. Click `+ Create New" button and choose to create a new `Monitor`
  3. Fill in all required inputs
  4. Ignore the `Servers` relationship dropdown
  5. Click `Save`

Expect:
A new monitor is created

Actual:
Failed to create the monitor and the snackbar message shows
"Server 'server_name' is already monitored by 'monitor_name', cannot add it to another monitor.
Could not create monitor 'new_monitor' with module 'mariadbmon'"


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