vscode-cosmosdb icon indicating copy to clipboard operation
vscode-cosmosdb copied to clipboard

The database disappears under the MongoDB account after restarting vs code

Open v-chenzha opened this issue 3 years ago • 2 comments

OS: Win 10 Build Version: 20220704.1

Repro Steps:

  1. Right click a MongoDB account -> Create a database.
  2. Restart vs code -> Expand the MongoDB account.
  3. Check whether the database still exists after restarting.

Expect: The database still exists after restarting. image

Actual: The database disappears after restarting. image

More Info: This issue can be fixed after refreshing the MongoDB account.

v-chenzha avatar Jul 05 '22 08:07 v-chenzha

I can only get this to reproduce if I cancel out of this step:

image

After restarting and refreshing, it doesn't reappear however. Are you canceling out of the Collection Name step?

nturinski avatar Sep 15 '22 22:09 nturinski

@nturinski Verified on the latest build 20220925.1, this issue still reproduces for now.

The Database is normally created with collection name. I didn't cancel the collection name.

v-chenzha avatar Sep 26 '22 07:09 v-chenzha