-
-
Notifications
You must be signed in to change notification settings - Fork 595
Parse.User.save() does not work in parse@3.5.0 #1593
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!
|
Can you reproduce this issue with the latest alpha version of Parse Server 5? |
I believe this also applies to When calling this, it is not sending any network request.
|
Which Parse Sever version did you use? |
I was on server 5.2.4, but bumping up to 5.3.0 did not resolve it.
the above code works well on JS SDK 3.4.4 but not 3.5.0. Watching the network tab on developer tools shows no request when calling maybe worth noting I'm pulling it from this CDN |
The CI for release branch indeed shows that there are some tests failing: Looking at the badges, the alpha and beta branches build successfully, only the release branch is failing: Could you try with the latest alpha and beta version of the Parse JS SDK? |
@MarcDerhammer Is there no log output at all when this fails? Could you try this in a local environment and run the integration test for signup? I assume there is one. |
upon further investigation, my previous comment seems irrelevant, due to the different causes of the issues. I will leave this issue with a comment pointing out the only changes between the User.save() functions shown in v3.4.4 and v3.5.0: In v3.4.4: return _regenerator.default.wrap(function (_context2) {...}) in v3.5.0: return _regeneratorRuntime().wrap(function (_context2) {...}) the contents of the two functions are identical. the only difference is the call to _regenerator.default.wrap versus _regeneratorRuntime().wrap. As I don't understand what the code does in each case, I will leave this here for more knowledgeable people. I wish you luck. |
🎉 This change has been released in version 3.5.1-alpha.2 |
Closing via #1600 |
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? |
Just confirmed using Thank you very much! |
I confirm that the issue is fixed with parse@3.5.1-alpha.2. |
I am not sure what i am doing wrong here, but for me This is using Parse server version 6.0.0-alpha.9 |
Since the original issue has been solved for others, it may be a different issue. Did you ensure the dependency installed is |
Thank you for the reply. I am confident I was using Anyways. The issue is now gone when using |
Thanks for reporting back. |
🎉 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
Parse.User.save() does not work in parse@3.5.0
Steps to reproduce
let user = new Parse.User();
user.set("username", "xx");
user.set("email", "xx@xx.xx");
user.set("password", "xx");
saveduser = await user.save();
Actual Outcome
It is saved/updated in the local session but not in the backend/server.
Expected Outcome
Update the data in the backend/server.
Environment
Server
4.5.0
Back4app
Client
3.5.0
The text was updated successfully, but these errors were encountered: