Conflict Resolution in Sync Services
Conflict Resolution in Sync Services
- Subject: Conflict Resolution in Sync Services
- From: "reshma k" <email@hidden>
- Date: 19 Sep 2005 09:01:13 -0000
Hello,
I am using the Sync Services APIs to synchronize a test application with the Mac Address Book. I have the following queries regarding conflicts:
1] Suppose I add the following entry to Mac:
Mac Address Book(MAB):
======================
Name: Anne Roberts
Address: 310-443 Company way,
Sacramento,
CA,
USA.
Notes: Entry added on 19th September
======================
The above entry is synced with my test application. Now consider the case where I modify the "Notes" on both the ends such that they differ in only white-spaces. E.g.:
MAB:
======================
Name: Anne Roberts
Address: 310-443 Company way,
Sacramento,
CA,
USA.
Notes: Entry added on 19th September
======================
and test application has:
======================
Name: Anne Roberts
Address: 310-443 Company way,
Sacramento,
CA,
USA.
Notes: Entry added on 19th September
======================
In the next sync cycle, what I see is the conflict resolution alert pops up.
Doesn't the conflict resolution scheme take care of the difference in only the white-spaces? If not, what is the best way not to encounter a conflict in such a scenario?
2] Is there a way to programatically enforce one of the conflicting entries (E.g.: Entry from Test Application) to be always chosen as a winner in case of conflicts?
Regards,
Reshma
Persistent Systems
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden