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

Poor error message for expected array query properties

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.3.4
    • None
    • Diagnostics, Querying
    • None
    • Fully Compatible

    Description

      The message `and needs an array` is not very descriptive - should at least be `$and needs an array`.

      Fixed $nor error not being reported as an $and property error

      Related fix: https://github.com/mongodb/mongo/pull/1066

      Attachments

        Activity

          People

            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            yeatesgraeme@gmail.com Graeme Yeates
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: