Skip to content

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'BSON_CODE' #120

@engelgabriel

Description

@engelgabriel

When I try to do a find in any collection that has a document with a property of type BSON_CODE:

{
    "_id" : ObjectId("52fd133f0cf263faa13b3c7e"),
    "helpers" : {
        "test" : function (a){return a+1;}
    }
}

The app crashes:

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'BSON_CODE'
terminating with uncaught exception of type NSException
abort() called

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions