[SERVER-10779] JSON Parser Needs to Support the DBRef $db Field Created: 16/Sep/13  Updated: 11/Jul/16  Resolved: 09/Oct/13

Status: Closed
Project: Core Server
Component/s: Internal Code, Tools
Affects Version/s: 2.4.0
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: json, mongoimport, neweng, parser
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-10777 Allow JSON Parser to support addition... Closed
Operating System: ALL
Participants:

 Description   

Currently the JSON parser does not read the optional $db field in a DBRef – see JParse::dbRef(...).

Because of this all tools parsing json are broken related to creating/parsing dbref that contain that field.

In addition, any other field should be allowed after the required (and optional) fields.



 Comments   
Comment by auto [ 09/Oct/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-10779 Add support for DBRef $db field in JSON Parser
Branch: master
https://github.com/mongodb/mongo/commit/184224c7c18acb2111b96aaef16da9d76833a774

Generated at Thu Feb 08 03:24:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.