shouldRefreshRefetchedObjects does not refresh managed object
| Originator: | bill | ||
| Number: | rdar://21759856 | Date Originated: | 09-Jul-2015 07:28 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | iOS 8.4 (12H143), iOS 9 (Xcode 7 beta 3 7A152u) |
| Classification: | Reproducible: |
Summary: shouldRefreshRefetchedObjects does not refresh managed objects previously fetched in multiple MOCs configuration. 2 MOCs both are of main queue concurrency type. Both point to the same PSC. Changes in a managed object in one context does not get updated when the other context perform a fetch request where shouldRefreshRefetchedObjects is set to true. "refreshObject:mergeChanges:" works though. Steps to Reproduce: * Run the sample code * Tap "Add and Save" to create a managed object in the "editor" context. * Tap "Fetch" to fetch the object to the "consumer" context * Tap "Modify and Save" to modify and save the object in editing context. * Tap "Fetch with refresh refetched" Expected Results: The value in the label under "Consumer" section is updated to the same value in "Editor" section. Actual Results: The value is not updated.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!