CloudKit crash on column with name "etag" #254
              
  
  Closed
              
          
                  
                    
                      diatoming
                    
                  
                
                  started this conversation in
                CloudKit Preview
              
            Replies: 1 comment 2 replies
-
| @diatoming It looks like we should add that to our docs. Apple unfortunately doesn't document an exhaustive list of these identifiers, so we've been doing that. Would you like to PR that addition? | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
while testing SyncEngine, i found a CloudKit crash on column name "etag".
The error is
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '"etag" is a reserved key name'Crashed in file
CloudKit+StructuredQueriessqlite-data/Sources/SQLiteData/CloudKit/CloudKit+StructuredQueries.swift
Line 163 in c6a17b9
I've checked the reserved CloudKit keywords https://swiftpackageindex.com/pointfreeco/sqlite-data/1.1.1/documentation/sqlitedata/cloudkit#Avoid-reserved-CloudKit-keywords, 'etag' is not in the list.
Is it a CloudKit reserved keyword? or related to CloudKit metadata?
Beta Was this translation helpful? Give feedback.
All reactions