edorphy / CloudKitWebServices

BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Investigate UNKNOWN_LIST type returned by fetch #11

Open edorphy opened 2 years ago

edorphy commented 2 years ago

Found that Apple returned "UNKNOWN_LIST" as a value type in a record. In the portal the type on the offending record was "empty list".

I saved a string, then deleted the string then console picked up the type as being a list. Seems like an Apple bug I should file feedback for.

edorphy commented 2 years ago

Steps to reproduce:

  1. Create Record Type with String List type
  2. Save the value as an empty array using CloudKit CKModifyRecordsOperation
  3. View the record in Console and see “empty list” type
  4. Using Web API, fetch that record and attempt to decode the types using documented types, receive “UNKNOWN_LIST”

Filed feedback: FB9825479