% drush ev 'var_dump(entity_load("dossier",[0=>4,2=>9]))'
WD php: MongoCursorException: localhost:27017: Can't canonicalize query: BadValue $in needs an array in MongoCursor->rewind()

Apparently PHP's BSON serializer does not handle arrays with non-consecutive keys very well, see https://jira.mongodb.org/browse/PHP-1051

Comments

Paul B’s picture

Title: MongoCursorException in enity_load » MongoCursorException in entity_load