Skip to content

Parse server crash - Cannot read property 'encodeParseObjectInCloudFunction' of undefined #8783

@zivchen

Description

@zivchen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions