Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Initial properties not available when sync failed #31

@Ezor

Description

@Ezor

Hi,

Here is the failing scenario :

  • Create an NSManagedObject with the following properties : firstname = 'John', lastname = 'Doe'
  • Save context
  • CloudCore try to sync this new Object but if fails for whatever reason (iCloud not available, limit exceeded...). So we don't have the corresponding CKRecord in CloudKit.
  • Later, we update the same NSManagedObject : firstname = 'Jane', lastname = 'Doe'
  • CloudCore create a CKRecord with only updated properties : firstname = 'Jane'

So on CloudKit, we will never have the property set during NSManagedObject creation, here lastname = 'Doe'.

I'm not sure how it could be fixed apart by always updating all properties.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions