-
-
Notifications
You must be signed in to change notification settings - Fork 596
Object.save() and Query.first() issues #1601
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
Thanks for opening this issue!
|
Sorry wrong repo |
Closed via #1600 |
🎉 This change has been released in version 3.5.1-alpha.2 |
This should be fixed with https://github.com/parse-community/Parse-SDK-JS/releases/tag/3.5.1-alpha.2, could you try it out and let us know? |
No luck! I've updated it, but no result. Same problems. Can it be any dependencies conflict? I have a suggestion: maybe some babel-related issues can cause my problem. I've reviewed the last commits and realised that most bugs in 3.5.0 were produced by wrong babel config |
With the same Parse Server version? It may be related to your custom code and we'd need a failing test case to show that it's an issue with the Parse JS SDK. Could you open a PR with a test that demos the issue? Also you may want to make sure that you are really using 3.4.2 in both projects and maybe reinstall the SDK. |
Are you using the sdk via NodeJS or in the browser via a CDN? If CDN, could you share the CDN link? |
Same Parse server version, btw for of 3 my projects I have only one VDS in Oracle Cloud, so version of Parse server is always the same. I use NodeJS, no CDNs. Only Webpack 5.74.0 and Node 18. |
Got it - #1600 was related to browser environments so I'm not convinced this bug is fixed by that. Although #1600 was introduced in The issue could be relating to webpack / typescript, if you could make a quick
No worries, stay safe! |
Sorry everybody! I figure out what is happening! NPM in Ukraine have strange cache error, so when i install |
🎉 This change has been released in version 3.5.1-beta.2 |
🎉 This change has been released in version 3.5.1 |
New Issue Checklist
Issue Description
I have a problem with saving and getting first object using
Parse.Query
in JS. The most strange thing is that in other my projects this code works seamlessly. I think that they are connected to each other, so I report about both of them in one timeawait Parse.Query.first()
is resulting in exception, while(await Parse.Query.find())[0]
works correctlyParse.Object.save()
is resulting in undefined, not in issueSteps to reproduce
Code to reproduce the
new Parse.Query.first()
problem:Code to reproduce the
new Parse.Object.save()
problem:Actual Outcome
new Parse.Query.first()
problem outcome isTypeError: Cannot read properties of undefined (reading 'className') at eval (parse.js:18430:39)
Parse.Object.save()
problem outcome isundefined
Expected Outcome
Environment
Server
^5.2.1
Ubuntu 22.04.1 LTS
Oracle Cloud
Database
MongoDB
^5.0.9
Local
Client
^3.5.0
Logs
The text was updated successfully, but these errors were encountered: