Cannot store CKRecords with CKAssets in publicCloudDatabase
| Originator: | ekurutepe | ||
| Number: | rdar://17177348 | Date Originated: | 05.06.2014 |
| Status: | Closed as a dup | Resolved: | |
| Product: | iOS | Product Version: | 8 |
| Classification: | Reproducible: | Always |
Summary: CKRecord instances with a CKAsset cannot be stored in publicCloudDatabase. Saving in to privateCloudDatabase works as expected. Steps to Reproduce: 1. Create a CKRecord instance: let report = CKRecord(recordType:"report") 2. Create a CKAsset instance: let imageAsset = CKAsset(fileURL: fileURL) 3. report.setObject(imageAsset, forKey: "picture") 4. publicDB.saveRecord results in: <CKError 0x1710543a0: "Internal Error" (1/1003); "Saving asset failed"> Expected Results: The CKRecord instance being saved with the asset Actual Results: <CKError 0x1710543a0: "Internal Error" (1/1003); "Saving asset failed"> Version: iOS 8 12A4265u Notes: Configuration: iPhone5s, Wifi, Attachments:
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!