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

listCollections silently ignores invalid filter format

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.7.8
    • Usability

    Description

      To aid in usability, it should return an error.

      Example:

      db.runCommand({ listCollections: 1, filter: 'invalid' });

      Attachments

        Activity

          People

            Unassigned Unassigned
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: