[SERVER-45196] Wrong type collection arguments to mapReduce produces incorrect error message which references database Created: 17/Dec/19  Updated: 29/Oct/23  Resolved: 26/Jun/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: Jacob Evans Assignee: Karmen Liang
Resolution: Fixed Votes: 0
Labels: neweng, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2020-06-29, Query 2020-07-13
Participants:

 Description   

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



 Comments   
Comment by Githook User [ 26/Jun/20 ]

Author:

{'name': 'Karmen Liang', 'email': 'karmen.liang@mongodb.com'}

Message: SERVER-45196 Change wrong type collection name error message
Branch: master
https://github.com/mongodb/mongo/commit/862243472b2eb68564672ee8e2eb98b534b04a85

Generated at Thu Feb 08 05:08:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.