Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2045

Cannot insert keys with dots

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      After upgrading mongo-c-driver to 1.6.0 I can no longer insert JSON data where they key contains a dot:

      > m$insert('{"foo.bar":true}')
      Error: document to insert contains invalid keys
      

      This was not a problem with 1.5.x.

            Assignee:
            Unassigned Unassigned
            Reporter:
            Jeroenooms Jeroen Ooms [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: