iCloud core data returns empty updates

Originator:philk1701
Number:rdar://13281067 Date Originated:24/2/13
Status:Open Resolved:
Product:iPhone SDK Product Version:6.1
Classification: Reproducible:YES
 
Summary:  dupe of rdar://13225912

An app uses iCloud to store core data files.  When receiving a data update the update is empty even though there was a valid change to cause the update to be sent.

$0 = 0x1f5c64e0 NSConcreteNotification 0x1f5c64e0 {name = com.apple.coredata.ubiquity.importer.didfinishimport; object = <NSPersistentStoreCoordinator: 0x1f553130>; userInfo = {
deleted = "{(\n)}";
inserted = "{(\n)}";
updated = "{(\n)}";
}}


Steps to Reproduce:

To recreate with the WWDC 2012 Sample Code (SharedCoreData_IOS):
 
- Open the app on two devices *running iOS 6.1* with a freshly created ubiquity store.
- Add an item on Device A.
- Wait for item to sync to Device B.
- Edit item on Device B (Change a few characters in the name) and save.



Expected Results:
A com.apple.coredata.ubiquity.importer.didfinishimport notification with a userInfo dictionary for the change.


Actual Results:

An empty com.apple.coredata.ubiquity.importer.didfinishimport notification.

Regression:

Notes:

The sync works correctly 3 out of 5 times.

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!