Particular / ServiceControl

Backend for ServiceInsight and ServicePulse
https://docs.particular.net/servicecontrol/
Other
53 stars 47 forks source link

Setting EndpointType for SQLServer endpoints does not work #4468

Closed jpalac closed 1 month ago

jpalac commented 1 month ago

Describe the bug

Describe the bug

Description

When the Endpoint Type is changed for an SQLServer endpoint or queue, a toast saying that it's saved appears, but the selection reverts back to what it was.

This is due to how the name is displayed on the screen [db].[schema].[table] vs how it is looked up in the backend for saving purposes.

Expected behavior

The selected Endpoint Type value should be saved and remain selected on the screen.

Actual behavior

The selected Endpoint Type value is not saved.

Versions

Please list the version of the relevant packages or applications in which the bug exists.

Steps to reproduce

  1. Have a ServiceControl and ServicePulse system using SQLServer as the transport
  2. Go to the Usage screen in ServicePulse
  3. Pick an endpoint who's name appears in the format of [db].[schema].[table]
  4. Change the Endpoint Type to something else
  5. Observe that a toast appears with a save confirmation, but the value is reverted back to what it was before the change

Relevant log output

N/A

Additional Information

Workarounds

None