[GODRIVER-646] Decoding javascript into bson.D fails Created: 21/Nov/18 Updated: 28/Oct/23 Resolved: 27/Nov/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 0.1.0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Eric Daniels (Inactive) | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
It fails with the following error: "cannot decode javascript into a string type" Attached is a sample BSON file. |
| Comments |
| Comment by Githook User [ 27/Nov/18 ] |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Ensure JavaScript and Symbol codecs are registered Register the JavaScript and Symbol encoder and decoder functions when Change-Id: I090e19844031d40ae778c460c4eaa7fc1edbce73 |
| Comment by Kristofer Brandow (Inactive) [ 26/Nov/18 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/434892. |