getUser() fails with 2.4 schema users

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Shell
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Jonathan Abrahams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: