-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Bug in the get method of Query in cloud code #630
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
Comments
My gut feeling is that somehow the Equals method is different for parse objects than in the Parse hosted server. |
Any progress on this? |
Hi guys. Any updates? |
@daviddayag We had few fixes around this issue in the last update. (specifically #619) Also, were you running 2.1.3 or a different version of a server? |
Hi. DatabaseController.js [row:200] this result object is null. the key searched exists, i checked manually.
|
any idea? |
hi guys, did you get a chance to fix this new issue? |
@daviddayag can you please update to 2.1.6 and provide the requests logs by starting your server with VERBOSE=1 before the start command? |
No response in many days, closing. |
I Didn't see your response. Sorry. |
For some reasons, in cloud code:
if I get an object by it's ObjectId and then set it to the reference field of other object it duplicates the object put it entirely in the reference field instead of just setting it's reference.
here's my code (user is from request.object, shoutUser is the one i'm getting with query and "get"):
So "user" object is set by reference, and "shoutUser" object is copied into the field entirely.
in Parse hosted server it works good, I mean I don't really know how the mongo objects look like, but the ui shows a reference to the user and not the entire json.
The text was updated successfully, but these errors were encountered: