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

Cannot insert keys with dots

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: