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

Fixed AclProvider, fixed mongodb 2.6+ issue #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rdotter
Copy link

@rdotter rdotter commented Feb 10, 2016

In mongoDB 2.6+ the $in param can result in the following error;
mongodb Can't canonicalize query: BadValue $in needs an array

At the $entryQuery this occured when adding multiple types in the query.

The fix is simple, start using array_values for $types.

In mongoDB 2.6+ the $in param can result in the following error;
mongodb Can't canonicalize query: BadValue $in needs an array

At the $entryQuery this occured when adding multiple types in the query.

The fix is simple, start using array_values for $types.
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.

1 participant