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

Wrong type collection arguments to mapReduce produces incorrect error message which references database

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
    • Fully Compatible
    • ALL
    • Query 2020-06-29, Query 2020-07-13

      MapReduce produces:
      "Invalid input resource <database foo>"
      when collection name is of wrong type

      this error is part of the authentication code and thus only shows up when access control is enabled

            Assignee:
            karmen.liang@mongodb.com Karmen Liang
            Reporter:
            jacob.evans@mongodb.com Jacob Evans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: