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

Add '_id' field to generated errors for updates

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Query 2020-07-27, Query 2020-08-24, Query 2020-09-07

      Investigate the work required to append the _id field of a document that failed validation during an update as described in the design document. Doing this would help users identify which existing documents failed validation (this isn't usually possible because generated errors will only expose individual components of the document which failed validation).

            Assignee:
            mindaugas.malinauskas@mongodb.com Mindaugas Malinauskas
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: