[JAVA-1486] JsonReader doesn't return the correct BsonType for certain BSON types Created: 29/Sep/14  Updated: 01/Apr/16  Resolved: 06/Nov/14

Status: Closed
Project: Java Driver
Component/s: JSON
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: rc
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

the following bsonTypes are returned as BsonType=Document instead of the actual BsonType in JsonReader: binary, minkey, maxkey, timestamp, dbPointer



 Comments   
Comment by Jeffrey Yemin [ 31/Mar/15 ]

Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released.

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Fixed timestamp support in JsonReader. It now supports the current extended JSON format as well as the shell format.

JAVA-1486
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a46e39c04e94663efa2d90eb6a050f012940f0ec

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: JAVA-1486 fix max/minkey typo and binary encoding and decoding test
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/00eb3b185acb69775bdc626bd059cc408159a09c

Comment by Githook User [ 06/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Fixed timestamp support in JsonReader. It now supports the current extended JSON format as well as the shell format.

JAVA-1486
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/a46e39c04e94663efa2d90eb6a050f012940f0ec

Comment by Robert Guo (Inactive) [ 07/Oct/14 ]

jeff.yemin right. minKey, maxKey and BsonBinary are good, but timestamp and dbPointer still need to be fixed.

Comment by Jeffrey Yemin [ 07/Oct/14 ]

robert.guo I merged your pull request, but from the description of this issue it seems there are more problems than just what's fixed in the PR, right?

Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: JAVA-1486 fix max/minkey typo and binary encoding and decoding test
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/00eb3b185acb69775bdc626bd059cc408159a09c

Generated at Thu Feb 08 08:54:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.