Skip to content

Adding a pointer format modifier#2

Open
yairsz wants to merge 1 commit intomoflo:masterfrom
yairsz:master
Open

Adding a pointer format modifier#2
yairsz wants to merge 1 commit intomoflo:masterfrom
yairsz:master

Conversation

@yairsz
Copy link
Copy Markdown

@yairsz yairsz commented Oct 10, 2016

Hello, I found this module useful to restore a parse database that only existed as a set of json files.
It mostly worked except that relational queries were returning 0 objects. After some research I found that the culprit was the format of the pointers. After re-importing with this change relational queries are working properly. The format change is the following:

original:
"parentInspection": { "__type": "Pointer", "className": "NameOfClass", "objectId": "PNLEniZswJ" }

should be:
"_p_parentInspection": "NameOfClass$yGts7DGTry"

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