[SERVER-15513] getUser() fails with 2.4 schema users Created: 02/Oct/14  Updated: 24/Dec/19  Resolved: 24/Dec/19

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.6.4
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Jonathan Abrahams Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 0
Labels: 28qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Operating System: ALL
Participants:

 Description   

The getUser() shell helper fails with 2.4 schema users:

2014-10-02T13:14:26.646-0400 Error: User name for getUser shell helper must be a string at src/mongo/shell/db.js:1253

Note - getUsers() does work

It seems that getUsers has a fallback for v2.4 schema users


Generated at Thu Feb 08 03:38:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.