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

getUser() fails with 2.4 schema users

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.4
    • Shell
    • ALL

    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

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            jonathan.abrahams Jonathan Abrahams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: