magicalpanda/MagicalRecord — Issue #143: Why does it save both local context and default context?
Author: fossli
Created: 2012-02-17 08:28:10+00:00
State: open

When we use
+[MRCoreDataAction saveDataInBackgroundWithBlock: completion]
it seems we are first saving the local context then the default context. Is this the way it should be? Aren't we trying to avoid just that by using a local context? Please explain.

2012-02-16 15:34:43.942 myapp[47113:1490b] -[NSManagedObjectContext(MagicalRecord) MR_saveWithErrorHandler:](0x6c259b0) Saving Context
2012-02-16 15:34:43.947 myapp[47113:1490b] -[NSManagedObjectContext(MagicalRecord) MR_saveWithErrorHandler:](0x6ca91c0) Saving *** Default *** Context