• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SyncServices: identifier problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SyncServices: identifier problem


  • Subject: Re: SyncServices: identifier problem
  • From: "Rimas M." <email@hidden>
  • Date: Fri, 23 Dec 2005 03:40:20 +0200

Hello again,

I have solved identidier problem. But now I got new one. Sometimes iCal just deletes my new added items. For example I push ISyncChange for adding new calendar, the one for new Event in that calendar and DisplayAlarm for that Event. And thats all. Nothing else. Everything looks fine until I launch iCal. Then it invites my program into session for pulling. And gives... changes for deleting event and display alarm. Why??? And why does it leaves calendar and deletes only event and alarm.

On 2005.12.08, at 16:15, Nick Zitzmann wrote:


On Dec 8, 2005, at 5:01 AM, Rimas M. wrote:

This is what I have been doing. Firstly I delete an event and then creating a task with the identifier of deleted event. But an error always occurred. It is saying that I can not change item name from com.apple.calendars.Event into com.apple.calendars.Task.

Don't use the identifier of the deleted event. Once an identifier has been used for something, it can't be recycled, because the delete change has to remain in the Truth for the rest of its existence. Otherwise, the record wouldn't be correctly deleted in other sync engines.

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________
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
References: 
 >SyncServices: identifier problem (From: "Rimas M." <email@hidden>)
 >Re: SyncServices: identifier problem (From: Nick Zitzmann <email@hidden>)
 >Re: SyncServices: identifier problem (From: "Rimas M." <email@hidden>)
 >Re: SyncServices: identifier problem (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: KVO one-step listening but two-step notifying?
  • Next by Date: Re: KVO one-step listening but two-step notifying?
  • Previous by thread: Re: SyncServices: identifier problem
  • Next by thread: Bindings with Differing Data Cells
  • Index(es):
    • Date
    • Thread