Product: Aqua Data Studio
Version: 18.0.0-dev-73
Build #: 48849
Build Date: 2016-Mar-04 09:32:20 AM
|
110 KB
|
54 KB
|
93 KB
|
70 KB
|
28 KB
are you able to successfully insert in ADS v17?
@Sachin,
On executing the db.dbp17.insert({p: new DBPointer('tt', new ObjectId("56c070fe43fec980d26669d5"))}); in V17, collection dbp17 gets created, on extracting the fields in ADS schema tree node type of column "p" is shown as dbref. Refer screen shot
In ADS V17.0.3-3 following result is returned:
{
"_id" : ObjectId("56e78d17975cfcaf72ebc2c8"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@52395d62")
}
/* 2 */
{
"_id" : ObjectId("56e78d4d975cfcaf72ebc2cc"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0")
}
Thanks.
@Sachin,
On executing the db.dbp17.insert({p: new DBPointer('tt', new ObjectId("56c070fe43fec980d26669d5"))}); in V17, collection dbp17 gets created, on extracting the fields in ADS schema tree node type of column "p" is shown as dbref. Refer screen shot
In ADS V17.0.3-3 following result is returned:
{
"_id" : ObjectId("56e78d17975cfcaf72ebc2c8"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@52395d62")
}
/* 2 */
{
"_id" : ObjectId("56e78d4d975cfcaf72ebc2cc"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0")
}
Thanks.
In ADS V17.0.3-3 following result is returned:
{
"_id" : ObjectId("56e78d17975cfcaf72ebc2c8"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@52395d62")
}
/* 2 */
{
"_id" : ObjectId("56e78d4d975cfcaf72ebc2cc"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0")
}
The "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0" display format is wrong. I have fixed it on ADS v17.
In ADS V17.0.3-3 following result is returned:
{
"_id" : ObjectId("56e78d17975cfcaf72ebc2c8"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@52395d62")
}
/* 2 */
{
"_id" : ObjectId("56e78d4d975cfcaf72ebc2cc"),
"p" : DBRef("tt", "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0")
}
The "com.aquafold.mongoshell.engine.mongorhino.adaptor.ObjectId@13e19bd0" display format is wrong. I have fixed it on ADS v17.
ADS 18.0.0-devi-98
After executing db.dbp2.find() command, java.lang.IllegalStateException in view long .
Please refer attached refer screenshot
ADS 18.0.0-devi-98
After executing db.dbp2.find() command, java.lang.IllegalStateException in view long .
Please refer attached refer screenshot
I cannot reproduce this issue using a JUnit test. It is reproducible using the ADS-18.0.0-devi-98 build when the Text output tab is active.
Looking at the way how the output string is formatted, it seems to me that the MongoDocument.toString()
method is not invoked at all. Can you confirm if this method is being used for the Text output tab ? I have written several custom formaters inside the MongoJsonWriter class, thus it is important to ensure that the MongoDocument.toString() method is being used when converting Document instances (returned by the MongoDB Java library) to string values.
I cannot reproduce this issue using a JUnit test. It is reproducible using the ADS-18.0.0-devi-98 build when the Text output tab is active.
Looking at the way how the output string is formatted, it seems to me that the MongoDocument.toString()
method is not invoked at all. Can you confirm if this method is being used for the Text output tab ? I have written several custom formaters inside the MongoJsonWriter class, thus it is important to ensure that the MongoDocument.toString() method is being used when converting Document instances (returned by the MongoDB Java library) to string values.
Verified in ADS 18.0.0-devi-103. Please refer attached screenshot.
Verified in ADS 18.0.0-devi-103. Please refer attached screenshot.
Verified in ADS-18.0.-RC-15. Refer updated screenshot issue#14330.png
Verified in ADS-18.0.-RC-15. Refer updated screenshot issue#14330.png
Issue #14330 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 18.0.0-devi-101 |
No time estimate |
1 issue link |
relates to #14318
Issue #14318DBpointer data type returns result as null |
are you able to successfully insert in ADS v17?