× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
laxdeep(*) reported 2016-01-04T06:43:40Z  · tariqrahiman last modified 2016-12-10T08:02:27Z

"no type for shellBatchSize" error is generated for auto-complete pop-up box.


Dev vasudevpathak(*)
QA
Jenny Nishimura
JennyNishimura
Priority Low
Complexity Unknown
Component MongoJS
Version 18.0
Aqua Data Studio 17.0.0-ga-18 
Build #: 48040 
Built on: 2015-Dec-31 05:39:05 PM
 
Database: MongoDB 3.0.8
StorageEngine: MMAPv1
 
Issue: "no type for shellBatchSize" error is generated for auto-complete pop-up box.
 
Pre-requisite:
1] Create collection script:
db.record.insert({ "_id" : "01001", "city" : "AGAWAM", "loc" : [ -72.622739, 42.070206 ], "pop" : 15338, "state" : "MA" })
db.record.insert({ "_id" : "01002", "city" : "CUSHMAN", "loc" : [ -72.51564999999999, 42.377017 ], "pop" : 36963, "state" : "MA" })
db.record.insert({ "_id" : "01005", "city" : "BARRE", "loc" : [ -72.10835400000001, 42.409698 ], "pop" : 4546, "state" : "MA" })
db.record.insert({ "_id" : "01007", "city" : "BELCHERTOWN", "loc" : [ -72.41095300000001, 42.275103 ], "pop" : 10579, "state" : "MA" })
2] View Log window should be open.
 
Steps:
1] Open 'Query Analyzer(MongoJS)'. Execute the following command:
   db.record.find()  
   Command gets executed successfully and no error logged in 'View Log'. <--Correct behavior
 
2] Now execute the script:
   DBQuery.shellBatchSize=2
   Command gets executed successfully.
   Now type 'db.' and press 'CTRL+SPACE' for auto-complete pop-up box.
   Observation:
   "no type for shellBatchSize" error shows in 'View Log' for auto-completion pop-up box.
   This error gets generated on every further execution.
   Expected Result: This error should not be generated in 'View Log'.
 
3] We are not providing auto-complete pop-up box for eval() statement in Query Analyzer(SQL).
   This scenario is working fine in MongoShell.
 
ADS-17-DEV-47 behavior:
This issue is also occur in ADS-17-DEV-47.[MongoJS implemented].
 
Extra Information: 
DBQuery.shellBatchSize=2 is used to set cursor iteration in MongoCLI.
In above case(set to 2), it only shows 2 documents for find() statement and CLI will show note
'Type "it" for more' for next iteration.
 
(Please refer screenshot: batchIssue.png)
 
3 attachments

Issue #14130

Closed
Unreproducible
Resolved 2016-09-15T12:23:36Z
 
 
Completion
No due date
No fixed build
No time estimate

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