Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that databases and collections are not null/false #24

Merged
merged 1 commit into from Apr 16, 2015

Conversation

jamestyj
Copy link
Contributor

Prevents errors like:

2015-02-24T16:13:26.449+0000 TypeError: Object false has no method
  'forEach' at C:\install\getMongoData.js:122
failed to load: C:\install\getMongoData.js

Which can happen when there are insufficient permissions.

Prevents errors like:

    2015-02-24T16:13:26.449+0000 TypeError: Object false has no method
      'forEach' at C:\install\getMongoData.js:122
    failed to load: C:\install\getMongoData.js

Which can happen when there are insufficient permissions.
@devkev
Copy link
Contributor

devkev commented Apr 16, 2015

LGTM 👍

@gianpaj
Copy link

gianpaj commented Apr 16, 2015

lgtm too.

PS: maybe related, we might want to check if there is a space character (or other accepted chars) but that causes confusion or issues.
https://jira.mongodb.org/browse/SERVER-16198

ntang added a commit that referenced this pull request Apr 16, 2015
Check that databases and collections are not null/false
@ntang ntang merged commit 491669b into mongodb:master Apr 16, 2015
@jamestyj jamestyj deleted the perms branch April 16, 2015 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants