Open
Description
New Issue Checklist
- I am not disclosing a vulnerability.I am not just asking a question.I have searched through existing issues.I can reproduce the issue with the latest versions of Parse Server and the Parse Swift SDK.
Issue Description
Parse.User save method is not dispatching the result back to callback queue if the result is success. It is dispatching back to callback queue only if it fails. Looking at source code, I suspect this might be the case for all Parse Objects.
Steps to reproduce
Call save method of existing Parse.User
Actual Outcome
The result is not dispatched back to the callback queue when the save succeeds.
Expected Outcome
The result should be dispatched back to the callback queue when save succeeds.
Environment
Plain iOS app with Parse client version 4.14.2.
Client
- Parse Swift SDK version: 4.14.2
- Xcode version: 14.1
- Operating system (iOS, macOS, watchOS, etc.): macOS Ventura
- Operating system version: Ventura 13.0.1
Activity
parse-github-assistant commentedon Nov 17, 2022
Thanks for opening this issue!
mtrezza commentedon Nov 17, 2022
Thanks for reporting, could you provide a code example?
Aziz-AnyDesk commentedon Nov 18, 2022
Here is an example:
I believe this piece of code inside save function of ParseSwift SDK is responsible for this issue:
lsmilek1 commentedon Nov 26, 2023
I can confirm that this affects all ParseObjects. @mtrezza , I created Pull Request, could you please have a look at it? #448
lsmilek1 commentedon Feb 13, 2024
@mtrezza, who could check and eventually release the #448? I gave learned a bit more and hopefully figured it out. Thank you!