Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs "db.heroes.insert at 1:1: Expected document" after executing "Execute All" #2256

Open
v-xinda opened this issue Feb 27, 2024 · 0 comments
Labels
AT-CTI Created by CTI team

Comments

@v-xinda
Copy link

v-xinda commented Feb 27, 2024

OS: Win10
Build Version: 20240226.3
Regression: Previous Release (0.20.1)

Repro Steps:

  1. Create a Mongo DB account -> Create a database -> Create a collection "heroes".
  2. Create a new scrapbook and type the following.
db.heroes.insert([{
	"_id": {"$oid" : "5a7e04558ceb7f33005d6134"},
    "name": "Joker",
    "saying": "Ha ha"
}, 

{
	id: 3,
    name: "Batman",
    saying: "Nanana"
}
]);

  1. Click "Execute All".
  2. Check whether no error occurs.

Expect:
No error occurs.
image

Actual:
An error occurs.
image

@v-xinda v-xinda added the AT-CTI Created by CTI team label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT-CTI Created by CTI team
Projects
None yet
Development

No branches or pull requests

1 participant