× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
laxdeep(*) reported Jan 6, 2016  · tariqrahiman last modified Jan 26, 2016

Selected database in Database dropdown is incorrect after Reconnect if current database doesn't exist anymore


Dev
Jenny Nishimura
JennyNishimura
QA
Sachin Prakash
SachinPrakash
Priority Low
Complexity Unknown
Component Q Analyzer
Version 17.0
Aqua Data Studio 17.0.0-ga-20 
Build #: 48084 
Built on: 2016-Jan-05 05:17:40 PM
 
Database: MongoDB 3.0.8
Storage Engine: MMAPv1
 
Issue: Different behavior observed while creating new database.
 
Steps:
Scenario 1:
1] Open Query Analyzer (MongoJS). Select database ‘local’. Execute the following script.
   use dimentrix // this DB should not pre-exist under the Databases node.
   Observation: Database drop down shows 'dimentrix'.(This db is temporary now). <--Correct behavior.
 
2] Now press reconnect button. It will show Error Message pop-up box.
   Error Message: "New connection established. Failed to change into database: dimentrix".<--[Issue 1].
   Press 'Ok'. The database drop down will change to 'admin'. Check database drop down. The 'dimentrix' db is not displayed there.
   Again execute 'use dimentrix'. The result pane shows 'Switch to dimentrix'. 
   The temporary db 'dimentrix' gets created in drop down list but drop down shows 'admin' as current db. <--[Issue 2]
   Expected Result
   For [Issue 1]-> The error message should not be display.
   For [Issue 2]-> Database drop down should show 'dimentrix' as current db.
 
Scenario 2:
1] Open Query Analyzer (MongoJS). Select database ‘admin’. Execute the following script.
   use dimentrix // this DB should not pre-exist under the Databases node.
   Observation: Database drop down shows 'dimentrix'.(This db is temporary now). <--[Correct behavior].
 
2] Follow Scenario 1, Step 2].
   The temporary db 'dimentrix' gets created in drop down list but drop down shows 'admin' as current db. <--[Issue 3]   
   Expected Result:
   For [Issue 3]-> Database drop down should show 'dimentrix' as current db.
 
Scenario 3:
1] Open Query Analyzer (MongoJS). Select database ‘admin’. Execute the following script.
   use dimentrix // this DB should not pre-exist under the Databases node.
   Observation: Database drop down shows 'dimentrix'.(This db is temporary now). <--[Correct behavior].
 
2] Now press reconnect button. It will show Error Message pop-up box.
   Error Message: "New connection established. Failed to change into database: dimentrix". Press 'Ok'.
   The database drop down shows current db 'admin'. Check database drop down. The 'dimentrix' db is not displayed there.
   Now execute 'db'. The database drop down gets changed to 'local' and result pane shows 'local'. <-- [Issue 4].
   Expected Result:
   For [Issue 4]-> Database drop down should show 'admin' as current db after execution of 'db' command.
 
Please refer screenshot: (reopening-14085Screen.png)
This issue is related to Issue:14085. Please refer issue: Issue-14085
3 attachments

Issue #14144

Closed
Fixed
Resolved Jan 8, 2016
 
 
Completion
No due date
Fixed Build ADS 17.0.0-ga-21
No time estimate

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