[JAVA-1909] Cannot read BSON symbol from MongoCollection<BasicDBObject> document Created: 31/Jul/15 Updated: 14/Sep/15 Resolved: 27/Aug/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON |
| Affects Version/s: | 3.0.3 |
| Fix Version/s: | 3.0.4, 3.1.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Alexander Azarov | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB server 3.0.4 |
||
| Attachments: |
|
| Description |
|
What I tried to do is to run a code from the documentation to use BasicDBObject in the new CRUD API. My test document contained a BSON symbol and I got an exception where I didn't expect to have one.
|
| Comments |
| Comment by Jeffrey Yemin [ 14/Sep/15 ] |
|
Fix release today in 3.0.4. |
| Comment by Githook User [ 27/Aug/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix Symbol decoding in DBObjectCodec
|
| Comment by Githook User [ 27/Aug/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix Symbol decoding in DBObjectCodec
|
| Comment by Ross Lawley [ 27/Aug/15 ] |
|
Thanks for the initial report Alexander and then the patch Amir. I used the patch as a basis for a fix, which will be released in the next release of the 3.0.x driver and in the forthcoming 3.1 driver. |
| Comment by Githook User [ 27/Aug/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix Symbol decoding in DBObjectCodec
|
| Comment by Githook User [ 27/Aug/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Fix Symbol decoding in DBObjectCodec
|
| Comment by Ross Lawley [ 24/Aug/15 ] |
|
Thanks Amir for the patch, this is scheduled to be fixed in the next release. |
| Comment by Amir Lanesman [ 24/Aug/15 ] |
|
Attached a possible solution for issue. |
| Comment by Jeffrey Yemin [ 31/Jul/15 ] |
|
Thanks for the report Alexander. We'll take a look and get back to you with any questions we may have. |