UbiCollab / UbiShare

Share ubiquitously!
1 stars 1 forks source link

Crtical: _ID_OWNER of Community is changed during Sync #62

Open JacquelineFloch opened 11 years ago

JacquelineFloch commented 11 years ago

During the creation of a community, I set the filed Communities._ID_OWNER to Me._ID_PEOPLE (that connects to People).

After Sync to box.com, I notice that the field Communities._ID_OWNER is changed to "1". I am not sure why "1". Me._ID of the user in my test is "2" and Me._ID_PEOPLE is "3".

Anyway the field should not be changed. I should be able to retrieve the communities I have created. I should also be able to find the communities created by others, and therefore the field Communities._ID_OWNER should refer to People that is common to all users.

KatoStoelen commented 11 years ago

BoxSyncAdapter only modifies the data in the database when syncing from Box to the device. It sounds like there are some inconsistencies with the GLOBAL_ID's in the People table. The GLOBAL_ID's of people needs to be unique. Might be related to this issue: https://github.com/UbiCollab/UbiShare/issues/56

BabakFarshchian commented 11 years ago

Can this be related to the fact that synch adapter does not map from local IDs to global IDs? see this issue.