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

$setOnInsert mods should not conflict with non-insert modifiers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Do
    • None
    • None
    • Write Ops
    • ALL

    Description

      This command results in a conflict:

      db.test.update({_id:13},{$setOnInsert : {"name" : [null, "welt"]}, $set : {"name.0" : "wooorld"}}, { upsert: true });

      Attachments

        Issue Links

          Activity

            People

              Votes:
              46 Vote for this issue
              Watchers:
              43 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: