× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
Diksha.kushwah(*) reported 2015-12-21T10:51:44Z  · tariqrahiman last modified 2016-01-08T22:00:01Z

Only error message should be display without custom message.


Dev
Jenny Nishimura
JennyNishimura
QA vasudevpathak(*)
Priority Low
Complexity Unknown
Component MongoSQL
Version 17.0
Version: 17.0.0-ga-9
Build #: 47896
Build Date: 2015-Dec-20 07:19:01 PM
 
Operating Environment: Windows 7 (6.1, amd64) / Cp1252 / en / US / Oracle Corporation 1.8.0_40-b26
Memory: Max=954,728,448;  Total=414,711,808;  Free=266,641,568;  CPUs=8
 
Steps to reproduce:
 
Connect to MongoDB 3.7
1] Open Query Analyzer(MongoJS) and execute following query:
 
db.Orders.insert({' _id': 2, cust_id: "xyz1", ord_date: ISODate("2013-10-01T17:04:11.102Z"), status: "A", amount: 100 }) 
 
db.Orders.insert({' _id': 3, cust_id: "xyz1", ord_date: ISODate("2013-10-12T17:04:11.102Z"), status: "D", amount: 25 }) 
 
2] Now Execute following query in Query Analyzer(SQL):
 
DROP INDEX "_id1" ON "Orders"
GO
 
O/p: >>[Error] Script lines: 1-2 --------------------------
 Index not found with name [_id1]
 If you want to execute MongoDB JavaScript commands, you can use the EVAL or EVAL_ARRAY command or launch a MongoJS Query Analyzer.
 To set the default syntax for MongoDB Query Analyzer, go to File > Options > Query Analyzer > MongoDB > Default Syntax.

Actual Result: Error message displayed with custom message.
 
Expected Result: Only Error message  "Index not found with name [_id1]" should be display.Extra message should not be display it may be misguide the user.
 
Observation:
when we execute following query in MongoJS:
db.Orders.dropIndex( "_id1" )
 
Output: Error encountered while executing MongoJS command: index not found with name [_id1] .
2 attachments

Issue #14062

Closed
Fixed
Resolved 2016-01-05T00:08:23Z
 
 
Completion
No due date
Fixed Build ADS 17.0.0-ga-19
No time estimate

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