Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10987

Disallow inserting documents with invalid field names (nested)

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • Query Optimization
    • ALL

      Currently the insert checks do not validate past the first level of fields, and for performance reasons this may be hard to do without causing issues.

      Example of where this is not validated on the server:

      {_id:1, "a" : { "a.b":1, "$foo":1}}

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: