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

Shell doesn't parse invalid keys correctly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.2.0
    • Component/s: Shell
    • None
    • ALL

      MongoDB shell version: 2.2.0
      connecting to: test
      > db.test.remove()
      > db.test.insert({ "name" : "no admin 2", "isadmin" : false})
      > db.test.find()
      { "_id" : ObjectId("504f883dbc114eb55c6387af"), "name" : "no admin 2", "isadmin" : false }
      > db.test.insert({ "name\x16\x00\x08isadmin\x00\x01\x00\x00\x00\x00\x00" : "no admin 2", "isadmin" : false })
      > db.test.find()
      { "_id" : ObjectId("504f883dbc114eb55c6387af"), "name" : "no admin 2", "isadmin" : false }
      { "_id" : ObjectId("504f8843bc114eb55c6387b0"), "name" : null, "isadmin" : true, "isadmin" : true }
      

            Assignee:
            sverch Shaun Verch
            Reporter:
            kristina Kristina Chodorow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: