[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Appinfo categories



Alex Tronin:
> > > Can you make it run BEFORE other conduits  - otherwise it is useless?
> > Why is it useless?
> We need to get categories updated BEFORE updating records.
> If conduit tries to update records with old (unupdated) categories - it si
> just plain wrong (and BAD )

Err, no, it's not. Each record just has an index (0..15) into the
list of categories. Hence renaming a category (for example) doesn't
affect its records at all. There is s certain independancy between the
categories and the records (which is a problem on it's own), but syncing
categories and records are not related tasks.

It would get complicated for instance when a category name/ID is moved
into a different slot in the category array, in which case all records
must get updated with the new index. By PalmOS paradigm this will never
happen however.

Helge

-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.