undefined this
when running ParseQuery with .first
#1613
Labels
type:bug
Impaired feature or lacking behavior that is likely assumed
New Issue Checklist
Issue Description
When running a Parse.Query with
.first()
, I get an error likeTypeError: Cannot read properties of undefined (reading 'className') at eval (ParseQuery.js:1523:39)
Parse.Query with .find works fine.
This seem to have broke in v3.5.0. Earlier versions work fine for me.
After digging into the source code a bit it looks like
this
in ParseQuery.js gets modified toundefined
after QueryController has ran the async query request.Steps to reproduce
Run a query like
Actual Outcome
A runtime error is thrown (see Logs section)
Expected Outcome
Expected
result
would be an Parse.Object with the specified objectId orundefined
Environment
Client
3.5.0
Logs
Complete error:
The text was updated successfully, but these errors were encountered: