-
Notifications
You must be signed in to change notification settings - Fork 223
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
Update must run save() two times #317
Comments
Hi @zaneLou calling |
@pepibumur maybe you know i mean. if just run save(), I can find the change, the data is updated. but when i restart my app, the data is restored, and change not happened. very curiously. i use xcode 8.2. you can do some test, change the data, and restart app, you can find it. |
@zaneLou have you tried with the example app that is provided. Because it does exactly what you're trying to do. |
@pepibumur i can't run your sample. you do not know CocoaPods and Carthage much depends on network. and I find your Basic of Example, and not find create a model and update it, and restart again. |
@zaneLou what do you mean by:
|
Hey @zaneLou, is this issue still happening to you? Otherwise, I'll close the issue in a couple of on April 10th. |
I have the same problem. Update is doesn't work. |
@aemgtz do you get any error in the catch statement? |
I am having a similar issue and am not receiving an error in the catch statement. This does not save
But this does save successfully
I just took over this project which is using SugarRecord so I am trying to get up to speed. i would love to know if it is still being supported. |
What
jsonEntity is NSManagedObject, when i got it from database, update some property.
if i commet try (self.db.mainContext as? NSManagedObjectContext)?.save(), database is not updated, when i restart my app, jsonEntity's property is not updated. i need run two save()
slove the problem.
Context
The text was updated successfully, but these errors were encountered: