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

The scrapbook's language ID changes to other language ID when inserting too many values

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

OS: All Build Version: 20210905.1 Visual Studio Code: 1.60.0 Regression: Not a regression

Repro steps:

  1. Create a Mongo DB account -> Create a database.
  2. Create a new Mongo Scrapbook and connect the database.
  3. Type the following contents in the scrapbook.
	db.lotsofdata.drop();
		db.lotsofdata.insertMany([{"a": "xxxxxxxxxxxxxxxxxxx"},
		{"a": "xxxxxxxxxxxxxxxxxxx"},
		{"b": "xxxxxxxxxxxxxxxxxxx"},
		{"c": "xxxxxxxxxxxxxxxxxxx"},
		{"d": "xxxxxxxxxxxxxxxxxxx"},
		{"e": "xxxxxxxxxxxxxxxxxxx"},
		{"f": "xxxxxxxxxxxxxxxxxxx"},
		{"g": "xxxxxxxxxxxxxxxxxxx"},
		{"h": "xxxxxxxxxxxxxxxxxxx"},
		{"i": "xxxxxxxxxxxxxxxxxxx"},
		{"j": "xxxxxxxxxxxxxxxxxxx"},
		{"k": "xxxxxxxxxxxxxxxxxxx"},
		{"l": "xxxxxxxxxxxxxxxxxxx"},
		{"m": "xxxxxxxxxxxxxxxxxxx"},
		{"n": "xxxxxxxxxxxxxxxxxxx"},
		{"o": "xxxxxxxxxxxxxxxxxxx"},
		{"p": "xxxxxxxxxxxxxxxxxxx"},
		{"q": "xxxxxxxxxxxxxxxxxxx"},
		{"r": "xxxxxxxxxxxxxxxxxxx"},
		{"s": "xxxxxxxxxxxxxxxxxxx"},
		{"t": "xxxxxxxxxxxxxxxxxxx"},
		{"u": "xxxxxxxxxxxxxxxxxxx"},
		{"v": "xxxxxxxxxxxxxxxxxxx"},
		{"w": "xxxxxxxxxxxxxxxxxxx"},
		{"x": "xxxxxxxxxxxxxxxxxxx"},
		{"y": "xxxxxxxxxxxxxxxxxxx"},
		{"z": "xxxxxxxxxxxxxxxxxxx"}]);
		db.lotsofdata.find().pretty();
  1. Check whether the scrapbook's language ID doesn't change.

Expect: The scrapbook's language ID doesn't change. image

Actual: The scrapbook's language ID changes to other language ID. actual1

More Info: This issue doesn't reproduce on Visual Studio Code 1.59.1.

v-xinda avatar Sep 07 '21 07:09 v-xinda

Can you try to reproduce this using the latest version of VS Code? We think it may have been fixed there.

wwlorey avatar Feb 03 '22 23:02 wwlorey

@wwlorey Hi Will, verified on the latest build 20220209.1, this issue also reproduces.

v-xinda avatar Feb 10 '22 02:02 v-xinda

This no longer reproduces.

Tested with:

Version: 1.71.0-insider (user setup)
Commit: dd0ed9381aa5d0d43159463ccad1f7e060021580
Date: 2022-08-17T05:16:54.224Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: Yes

nturinski avatar Aug 18 '22 22:08 nturinski