-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Parse server crash - Cannot read property 'encodeParseObjectInCloudFunction' of undefined #8783
Comments
Thanks for opening this issue!
|
this thread is the only thread I can find that mentions I am encountering this error
when I try to pass and array of ParseObjects as a property for CloudCode (i.e. [Object]) As you can see on the 1st line of the error,
It's trying to read However, even when I do place What else can I look at to fix this problem? |
You could debug Parse Server to see where the error is happening exactly and what the values are that are causing this. |
ah. I just saw that the fix for this issue is in Parse-Server 7.0 based on the linked discussion. So does that mean this fix won't be in 6.x release? this fix in particular: |
No, we won't back port it to PS6, since it's not a security issue. We are happy to review it if you would like to open a PR though. |
so when I try to do a PR to alpha branch, since the changes I'm making are already there, nothing really is getting pulled. What branch should I make a PR on and what branch should I base my new branch from? |
New Issue Checklist
Issue Description
Parse server crash - Cannot read property 'encodeParseObjectInCloudFunction' of undefined
Steps to reproduce
I cannot send you my network body its too complex to explain, but its easy to see in the code
Actual Outcome
Parse server crash - Cannot read property 'encodeParseObjectInCloudFunction' of undefined
Expected Outcome
Not to crash
Environment
Prase server 6.3.1
FunctionsRouter.js - line 15 does not pass the config object to the parseObject function
That will crash FunctionsRouter.js - line 21 config.encodeParseObjectInCloudFunction because the config is undefined in this case
Please pass config object in line 15 and maybe add config?.encodeParseObjectInCloudFunction
Thanks
The text was updated successfully, but these errors were encountered: