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

"_" keys are broken inside of Object fields #1403

Closed
blacha opened this issue Apr 7, 2016 · 1 comment · Fixed by #1416
Closed

"_" keys are broken inside of Object fields #1403

blacha opened this issue Apr 7, 2016 · 1 comment · Fixed by #1416
Labels
type:question Support or code-level question

Comments

@blacha
Copy link
Contributor

blacha commented Apr 7, 2016

Given a simple class with a single object field

_SCHEMA:

{
    "_id" : "Test",
    "objectId" : "string",
    "updatedAt" : "string",
    "createdAt" : "string",
    "data" : "object"
}

when I insert this object into the data field it breaks queries against this class

{
    "arr": [{
        "_ID": "someRandomID"
    }]
}

Parse server logs this error:
error: Uncaught internal server error. bad key in untransform: _ID undefined

@blacha blacha changed the title "_" keys are broken inside of data objects. "_" keys are broken inside of Object fields Apr 7, 2016
@blacha
Copy link
Contributor Author

blacha commented Apr 7, 2016

Ok I have figured out what is causing this, Ill put a pull request to fix it in soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question Support or code-level question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants