Skip to content

Getting error ParseCore_objectEach is not defined when using my own keys / classes #1

@EpsApps

Description

@EpsApps

I used this project and only changed my own keys / class in the test.js file. I got this error when doing so:

ReferenceError: ParseCore_objectEach is not defined
at new ParseACL (parse-angular-sdk.js:5725)
at Object.ParseCore._decode._decode as _decode
at parse-angular-sdk.js:2422
at parse-angular-sdk.js:992
at Mt (lodash.min.js:9)
at Function.Oe (lodash.min.js:37)
at Object.ParseCore._objectEach._each as _objectEach
at _.extend._copyServerData (parse-angular-sdk.js:2421)
at _.extend._finishFetch (parse-angular-sdk.js:2542)
at parse-angular-sdk.js:4224

Edit 1: I've noticed that this will occur when I am trying to pull an object where the ACL is set to Public Read: True / Public Write: False.

Edit 2: I set the ACL to Public Read: True / Public Write: True and I still couldn't query the object in question. So Alerting the ACL in any way will result in this error, which is not good.

This is my code:

var app = angular.module('app', [
    'Parse'
]);

app.run(function(ParseSDK){    

    ParseSDK.initialize('appId', 'javascriptId');

    ParseSDK.User.logIn("username", "password")
        .then(function(user){

        var q = new ParseSDK.Query('Test');
        q.find()
            .then(function(results){
            console.log(results);

        });
    });   
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions