[sync] thunderbird abook sync - funambol(0.7)/horde-webmail(1.2.2)

Ian Rogers ian.rogers at contactclean.com
Tue Feb 3 19:27:47 UTC 2009


Two things:

First a quick patch for Horde. This patch allows SyncML to correctly 
identify the Thunderbird funambol sync plugin (necessary for long 
content like NOTE etc.)

--- horde-webmail-1.2.2/lib/SyncML/State.php      2009-01-28 
17:29:39.000000000 +0000
+++ horde/lib/SyncML/State.php     2009-02-03 19:14:27.000000000 +0000
@@ -301,7 +301,8 @@
             } elseif (!empty($di->Man) &&
                       stristr($di->Man, 'nokia') !== false) {
                 $this->_deviceDriver = 'Nokia';
-            } elseif (stristr($si, 'fmz-thunderbird-plugin') !== false) {
+            } elseif (stristr($si, 'fmz-thunderbird-plugin') !== false
+                                          || strpos($si, 'fmz-') === 0) {
                 $this->_deviceDriver = 'Sync4JMozilla';
             } else {
                 $this->_deviceDriver = 'default';


Secondly,  has anyone actually got the Funambol address-book sync to 
work with Horde? The client doesn't seem to send the required Map 
command after receiving an Add from the server. So when you download an 
addressbook into Thunderbird and alter a card, the card gets duplicated 
on the server when synchronised again...

The funambol client works perfectly well with my.funambol.com/sync of 
course so either the client or Horde is not behaving well.

I've spent 4 days banging my head on this one already. Any hints 
appreciated.

Ian




More information about the sync mailing list