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

Updating _id field fails with $set, works on replacement

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change
    • ALL

      At the moment you can do an update to change the whole document, but not $set the _id.

      This seems inconsistent; you should either be allowed to change the _id field, or not.

      The current replacement model seems to just be a shortcut for delete/insert.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: