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

Better message when accessing a BSON object field that does not exist

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.3.2
    • Diagnostics
    • None
    • Fully Compatible

    Description

      Currently, it displays:

      assertion: 13111 field not found, expected type <n>

      where <n> is the BSON type. It would be nice if the error would also print out the field name to make debugging much easier.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: