upsert:true with a Dotted _id Query should throw error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to: https://docs.mongodb.com/manual/reference/method/db.collection.update/#mongodb30-upsert-id

      This query:

      db.collection.update( { "_id.name": "Robert Frost", "_id.uid": 0 },
         { "categories": ["poet", "playwright"] },
         { upsert: true } )
      

      Should throw an error in mongodb > 3.0, but at least in mongo 3.2.6 I get no errors when executing this query.

            Assignee:
            Charlie Swanson
            Reporter:
            seba kerckhof
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: