× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
laxdeep(*) reported 2015-12-23T09:30:06Z  · dutondeumesh last modified 2016-04-01T13:27:52Z

Different behavior observed while creating new database.


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

 

Aqua Data Studio 17.0.0-ga-11
Build #: 47946
Built on: 2015-Dec-22 06:24:03 PM     

Database: MongoDB 3.0.7
Storage Engine: MMAPv1

Issue: Different behavior observed while creating new database.

Steps:

Scenario 1]
Open Query Analyzer (MongoJS). Select database ‘local’. Execute the following script one by one.
use dimentrix // this DB should not pre-exist under the Databases node.
db
db.test.insert({name:'dimentrix'})
db
Actual Result: When we execute the first script, Result pane shows ’Switched to dimentrix’, but in Database drop down, database changed from ‘local’ to ‘admin’. And all later executions gets reflected in ‘admin’ database. ‘dimentrix’ database does not gets created.
Expected behavior: Database and collection should be created and Database drop down should be switched to newly created db. 
 
Scenario 2] 
Open Query Analyzer (MongoJS). Select database ‘admin’. Execute the above scrips(script given in Scenario 1) one by one.
Actual Result: Database ‘dimentrix’ gets created and collection gets created with inserted values. Database drop down does not changed to ‘dimentrix’.
<--Improvement
Expected behavior: Database drop down should be switched to newly created database.
 
Scenario 3] 
Open Query Analyzer (MongoJS). Select database ‘admin’ or 'local'. Execute the above scrips(script given in Scenario 1) all at a time.
Actual Result: Database ‘dimentrix’ gets created and collection gets created with inserted values. Database drop down changed to ‘dimentrix’. —> Correct Behavior.
 
ADS-17.0.0-dev-47 behavior:
For Scenario 1, database does not gets changed to admin and remain as it is. All later executions gets reflected in ‘local’ db. No ‘dimentrix’ db created.
For Scenario 2, database ‘dimentrix’ does not created and all later executions reflected in ‘admin’ db.
For Scenario 3, Error occurred.
 
ADS-17.0.0-rc-59 behavior:
Same as ADS-17-GA-11
 
ADS-17.0.0-ga-2 behavior:
Same as ADS-17-GA-11
 
(Please refer screenshot: mainIssue.png)
(Please refer issue 13949)
4 attachments

Issue #14085

Closed
Fixed
Resolved 2016-01-06T00:55:27Z
 
 
Completion
No due date
Fixed Build ADS 17.0.0-ga-20
No time estimate

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