New Issue Checklist
Issue Description
When running a Parse.Query with .first(), I get an error like TypeError: 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 to undefined after QueryController has ran the async query request.
Steps to reproduce
Run a query like
const result = await new Parse.Query('Item').equalTo('objectId', '1234567890').first()
console.log({ result })
Actual Outcome
A runtime error is thrown (see Logs section)
Expected Outcome
Expected result would be an Parse.Object with the specified objectId or undefined
Environment
Client
- Parse JS SDK version:
3.5.0
Logs
Complete error:
TypeError: Cannot read properties of undefined (reading 'className')
at eval (ParseQuery.js:1523:39)
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
thisin ParseQuery.js gets modified toundefinedafter 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
resultwould be an Parse.Object with the specified objectId orundefinedEnvironment
Client
3.5.0Logs
Complete error: