$setOnInsert mods should not conflict with non-insert modifiers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Write Ops
    • Query
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This command results in a conflict:

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

              Assignee:
              Backlog - Query Team (Inactive)
              Reporter:
              kic
              Votes:
              46 Vote for this issue
              Watchers:
              43 Start watching this issue

                Created:
                Updated:
                Resolved: