Select a regular Cosmos DB for Mongo API account (not a Cosmos DB vcore mongo)
The information in Connection Details will be automatically filled: "Cluster Server" is set as "True", but it should be set as "False".
Even when setting is to "False", the code will incorrectly interpret this property and the "Overview" section of the account dashboard will not update.
Root cause:
It appears that this change no longer works. It sets the isServer as false boolean, but the "Connection Details" UI will still display as "True".
If I modify the code to set isServer to a string "false" or "true" and perform checks against a string (e.g. if (isServer === "true")) it will work as expected.
ADS version: 1.45.0 Extension version: 0.3.5 Repro steps:
Even when setting is to "False", the code will incorrectly interpret this property and the "Overview" section of the account dashboard will not update.
Root cause: It appears that this change no longer works. It sets the
isServer
asfalse
boolean, but the "Connection Details" UI will still display as "True". If I modify the code to setisServer
to a string"false"
or"true"
and perform checks against a string (e.g.if (isServer === "true")
) it will work as expected.For reference: