[SERVER-6646] Strings with NUL bytes don't round-trip correctly from BSON <-> JavaScript Created: 30/Jul/12 Updated: 11/Jul/16 Resolved: 24/Apr/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.5, 2.5.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Description |
|
SpiderMonkey: JS -> BSON is correct, but not BSON -> JS See v8 build failure at http://buildlogs.mongodb.org/build/5016c861d2a60f1068000491/test/5016c87dd2a60f1326000417/ That test passes on SM but this fails:
Note that it is written to the db correctly and readable by pymongo:
|
| Comments |
| Comment by auto [ 24/Apr/13 ] |
|
Author: {u'date': u'2013-04-10T22:40:56Z', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: |
| Comment by auto [ 13/Mar/13 ] |
|
Author: {u'date': u'2013-03-13T22:02:33Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}Message: |
| Comment by auto [ 13/Mar/13 ] |
|
Author: {u'date': u'2013-03-13T20:02:27Z', u'name': u'Ben Becker', u'email': u'ben.becker@10gen.com'}Message: |
| Comment by auto [ 03/Aug/12 ] |
|
Author: {u'date': u'2012-08-03T09:35:18-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}Message: Disable test for |
| Comment by Aaron Staple [ 30/Jul/12 ] |
|
Potentially related: |