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

Poor error message for expected array query properties

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.3.4
    • Affects Version/s: None
    • Component/s: Diagnostics, Querying
    • None
    • Fully Compatible

      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

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

              Created:
              Updated:
              Resolved: