User management shell helpers like dropUser(), getUser() and getRole() show inconsistent behavior when a user is not found. Specifically, getUser() and getRole() throw an exception, but dropUser() returns false.
Minor impact, but user interface changes slightly, which may affect users who automate or script MongoDB user management.
Change the behavior so that getUser() and getRole() do not throw but instead return null if the user does not exist.
Version 2.6.0 is affected by this bug.
The patch is included in the 2.6.1 production release.