Hi there,

yesterday I spent some time trying to sync my Sony Ericsson k700i with
Evolution2 (over bluetooth). After emerging multisync with the correct
USE-flags it worked - with a little restriction.

Some addressbook entries appear two times in my Evolution addressbook
(in the calender too) So I decided to start multisync in debug mode. 

Removing the current sync-item, creating a new one and starting it up
showed that multiple VCARD-entries appeared on the command line
(MULTISYNC_DEBUG=1) for the duplicate addressbook entries. But all of
them had the same X-IRCM-LUID - flag.

I do not know if it is a bug of my mobile, but it really hard to work
with such multiple entries (deleting one of them deletes the entry on
the phone :( ). I just took a look at the source (plugins/ircm) and
found that the objects of type 'changed_object' were appended to a list
using g_list_append . I tried to replace all calls to g_list_append with
a wrapper function that walks through all items of the current list and
looks for the UID of the element being inserted. If such a UID is found,
nothing is done.

Now I would like to know:

- Is this a bug of my mobile ? It doesn't happen with all contacts, but
with ca. 1/3 of them.

- What have I done ? Is it roght to check the UID before inserting the
item into the list or can it cause some other bugs ?

Greetz,

Ronny



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Multisync-devel mailing list
Multisync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to