Can't recreate a record type, after deleting it from the CloudKit Dashboard

Originator:ward
Number:rdar://17480141 Date Originated:27-jun-2014
Status:Open Resolved:
Product:iOS SDK Product Version:8.0 (12A4297e)
Classification:Serious Bug Reproducible:
 
Summary:
When you delete a record type your schema using the CloudKit dashboard, you can't re-create records with the same name any more.

Steps to Reproduce:
Steps:
1. Create a record type 'foo' using CKContainer.defaultContainer().publicCloudDatabase().saveRecord(..)
2. Go to Cloudkit dashboard
3. Delete the record type from the schema. 
4. Create a new 'foo' record.

Expected Results:
Record 'foo' saved, and Cloudkit dashboard listing recordtype 'foo' under schema.

Actual Results:
2014-06-27 08:23:50.392 CloudKitTest[2477:499917] <CKError 0x1782530b0: "Service Unavailable" (6/2022); "Error saving record <CKRecordID: 0x15671ffb0; D4F08CF9-D46D-4BAA-9738-F84849E0322D:(_defaultZone:__defaultOwner__)> to server: (null)"; uuid = AE625F3A-1780-492F-B9A9-B3DE5AA9C126; container ID = "iCloud.CKT.CloudKitTest">

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!