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

Inherited Entity Sync, maybe bug? #44

Open
dududouniwaner opened this issue Jul 15, 2018 · 0 comments
Open

Inherited Entity Sync, maybe bug? #44

dududouniwaner opened this issue Jul 15, 2018 · 0 comments

Comments

@dududouniwaner
Copy link

Hi there, thanks all your efforts for this framework. Here I may test out a bug? or something I missed in dealing with this?

This is problem happened by followed detail:
Step 1:

I had 3 entities named B, C, D, all of them were inherited from entity A. In addition, a test entity E was also added.
Step2:
By using CloudCore Framework, I added recordData/recordID attributes in entity E and parent entity A. When I run the app, entity E was sync normal, but nothing happened to Entity B, C, D, E.
Step3:
Then I delete recordData/recordID attributes from parent entity A, and add them to B, C, D. When App launched, it crashed, and read: Coredata error, cannot find attributed. Deleted recordData/recordID attributes from parent entity A, B, C, D, app crashed with the same error all the same.
Step4:
Then I tried to migrate data model version. Delete recordData/recordID attributes from parent entity A, and add them to B, C, D, it reads conflict attributes with old model version.

Maybe this situation is rare, but it really happens to me. I even thought this was a dead cycle. Do you have any advices to fix this? Your help would be highly appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant