× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
anilkalshetti reported 2014-10-31T12:32:45Z  · tariqrahiman last modified 2014-11-25T01:27:26Z

ADS16 Mongoshell shows wrong error message


Dev
Jenny Nishimura
JennyNishimura
QA
Emil Goicovici
emil.goicovici
Priority Low
Complexity Unknown
Component MongoShell
Version 16.0

Aqua Data Studio 16.0.0-dev-16
Build #: 40762
Built on: 2014-Oct-27 04:04:32 PM     

OS: Ubuntu 14.04-1
Linux (3.13.0-36-generic, amd64) / UTF-8 / en / IN / Oracle Corporation 1.7.0_60-b19
Memory: Max=3,817,865,216;  Total=1,518,338,048;  Free=225,527,464;  CPUs=8

Database: MongoDB 2.7.8

Issue:  ADS16 Mongoshell shows wrong error message

Detailed Steps to reproduce the issue:
1. Start MongoDB 2.7.8, 
and open ADS, Register MongoDB Server with NoAuthentication type.
 
2. In ADS, right click on MongoDB server and click on MongoShell.
MongoShell tab opens.
Execute the below commands:
//Command to insert data in collection
 
db.products.insert({ _id: 1, item: "ABC", price: 13.7375 })
 
3.  Run the above insert command again 2nd time, 
it will show wrong error message as
JavaScript execution failed: Error: TypeError: Cannot find function captureStackTrace in object function Error() { [native code for Error.Error, arity=1] }
. (mongodb28/collection.js#257)
 
Expected:  insertDocument :: caused by :: 11000 E11000 duplicate key error index: a_insert.products.$_id_ dup key: { : 1.0 }
 
 
@Dev
Wrong error message is shown on ADS 16.0.0-dev-16 build.
On ADS 15.0.9-17 build, proper duplicate key error message is shown.
 

Please refer Screenshot1.png

2 attachments

Issue #12636

Closed
Fixed
Resolved 2014-11-11T22:06:56Z
 
 
Completion
No due date
Fixed Build ADS 16.0.0-dev-33
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017