[sync] Bugfix+Patch to synchronize all fields a Nokia E90 offers and most of them to Funambol (Outlook/WindowsMobile)

Lukas Gradl horde at ssn.at
Sat Apr 5 18:16:38 UTC 2008


First of all: Sorry for crossposting, but as this patch applies to sync
and turba I decided to post it as one posting to both lists...

Here at my place we use mainly Nokia E90 Communicators. As we make havy
use of Contacts on them I wanted to synchronize them with our
LDAP-Addressbook.
As an addition there is one guy with a WindowsMobile phone so I took a
look on Funambol, too

As a result the attached patch came out.
It mainly adds a lot of fields to attributes.php and takes care that
those fields get used in Driver.php and in Sync4j.php.
It synchronizes all fields an E90 offers an uses as much as possible of
the Outlook fields (works for WindowsMobile and Outlook on PC)

While working on that I found and fixed an encondig-bug in Sync4J.
if creating a Horde_iCalendar-object and then setting version to 2.1 the
encoding of the resulting vcard is not always correct.
So I did it like in Driver.php and created a
Horde_iCalendar_vcard-object instead.

Perhaps the regular Coders in here could take a look at this patch?

If it is accepted I could offer add a bit of documentation on how to set
up sources.php to meet the new fields and to store the whole Address in
LDAP - including the schema we're using here.

regards
Lukas

PS: The diff-files are made against the nightly HEAD snapshot 2008-04-05.
-- 

----------------------------
software security networks
Lukas Gradl <horde#ssn.at>
Eduard-Bodem-Gasse 9
A - 6020 Innsbruck
Tel: +43-720-300168-0
Fax: +43-720-300168-21
----------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.tar.gz
Type: application/gzip
Size: 7547 bytes
Desc: not available
Url : http://lists.horde.org/archives/sync/attachments/20080405/e91dabdf/attachment.bin 


More information about the sync mailing list