-
-
Notifications
You must be signed in to change notification settings - Fork 878
Saving object with block has no callback, fails to save. #763
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
Saving now giving new errors referenced #766 |
This seems very odd, and something might be blocking the save in this case. |
Thank you for your feedback. We prioritize issues that have clear and concise repro steps. Please see our Bug Reporting Guidelines about what information should be added to this issue.
|
I've fixed this by removing 'circular' pointers, where Class A has a pointer to Class B, just as Class B has a pointer to Class A. Removing these pointers and restructuring (requiring additional requests in most cases) code has consistently fixed the problem. I'm afraid I fixed the issue before the chance to get my backtrace but now I know about it, next time I'll be sure to provide! (And debug myself hopefully!) Issue #766 has also been fixed via this change. |
Great, glad you found the solution. |
@GabrielMSharp Looking for your message |
Here is my code to get error message. |
I'm also still seeing the error referenced in #766: "Can't upload a file that doesn't exist locally." (code: 151) This happens when I'm trying to upload to parse-server hosted on Heroku with a MongoLabs database. I've seen it when creating a new object in a class and uploading an image to one of the fields and also seen it when creating an object that has an image field that I'm not setting on creation. This seems to be a widespread issue when calling saveInBackgroundWithBlock on new objects. The attached screenshot shows the call stack and error details. |
Using both subclassing and localdatastore occasionally:
Returns nothing, the error or succeeded bool never return. There's no debug info to look at, I've tried setting:
But still don't know how to investigate this.
I feel like there might be a Localdatastore issue, perhaps it saves locally and then corrupts somehow? But as I haven't used saveEventually and haven't explicitly changed pins, it seems odd.
Sometimes force-quitting and re-opening the app will fix the issue, but not for long.
The text was updated successfully, but these errors were encountered: