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

MongoDB write operations fail #798

Closed
mahmed0715 opened this issue May 21, 2024 · 9 comments
Closed

MongoDB write operations fail #798

mahmed0715 opened this issue May 21, 2024 · 9 comments
Labels
bug Something isn't working Released in BETA solved Pushed into GIT, but not yet released (after release issue will be closed)

Comments

@mahmed0715
Copy link

All write operation to database: Error evaluating expression: Class constructor qe cannot be invoked without 'new'

@janproch
Copy link
Member

Which version of DbGate are you using? Could you please attach screenshot and console output?

@adriancur
Copy link

Same here.
Im using Version: 5.2.8
image

@janproch
Copy link
Member

It seems to be database specific problem, which database engine, version and OS are you using?

@adriancur
Copy link

adriancur commented May 21, 2024

Im using a cloud mongdb database (atlas db) and Windows.

@janproch
Copy link
Member

It seems that you are running some query against mongoDb database? Could you share this query?

@adriancur
Copy link

adriancur commented May 21, 2024

Yep, happens in all the updates queries:
(if there is any log file that i can share with you, just ask me)
db.genres.updateOne({
"_id": ObjectId("62694065f2fc6d6157c2d5f5")
}, {
"$set": {
"name": "Musics"
}
});
image
image

@janproch janproch changed the title Error evaluating expression: Class constructor qe cannot be invoked without 'new' MongoDB write operations fail May 21, 2024
@janproch janproch added the bug Something isn't working label May 21, 2024
@janproch
Copy link
Member

OK, thanks. I have replicated it, I will solve this soon

@adriancur
Copy link

Thank you for your hard work!

@janproch
Copy link
Member

Fix released in 5.2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Released in BETA solved Pushed into GIT, but not yet released (after release issue will be closed)
Projects
None yet
Development

No branches or pull requests

3 participants