Not-Unique-UID fix in subversion

View: New views
1 Messages — Rating Filter:   Alert me  

Not-Unique-UID fix in subversion

by matthias jahn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello list,
with patches r1658-1674 a fix for the Not-Unique-UID problem is now in
subversion.

*What is the Not-Unique-UID problem?
    I discovered a problem with UID`s that are not unique
    within one member. Think of a contact with the
    UID=4 and a event with a UID=4.
       If you now try to sync than the first entry with
    UID=4 will be lost and replaced with the second.
       This problem exists in every plugin that has different
    datasources for different objtypes and this way
    allows UID`s that are not unique across different
    databases.

*What is the fix?
    The solution in svn is to use UID+ObjType (contact,
    event, note, todo) as key.

*Are there any known problems?
    Of course there are! :
    1. all existing SyncGroups need be be cleared.
 (http://www.opensync.org/wiki/FAQ#Howtocleanupasyncgroupfortesting)
    2. you could not delete Not-Unique-UID entries on syncml ...  
       (you could do that on file-sync)


happy testing

Matthias


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (196 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price!