[sync] One more fix for syncing with Funambol/PPC

Naoyuki Tai ntai at smartfruit.com
Fri Mar 2 23:13:43 PST 2007


With this fix, I can see the work address.


Index: Sync4j.php
===================================================================
RCS file: /repository/framework/SyncML/SyncML/Device/Sync4j.php,v
retrieving revision 1.27
diff -c -r1.27 Sync4j.php
*** Sync4j.php	14 Jan 2007 19:31:34 -0000	1.27
--- Sync4j.php	3 Mar 2007 07:07:10 -0000
***************
*** 559,565 ****
                           break;

                       case 'WORK':
!                         $prefix = 'WorkAddress';
                           break;

                       default:
--- 566,572 ----
                           break;

                       case 'WORK':
!                         $prefix = 'BusinessAddress';
                           break;

                       default:
***************



I think this is a typo.

Index: State.php
===================================================================
RCS file: /repository/framework/SyncML/SyncML/State.php,v
retrieving revision 1.41
diff -c -r1.41 State.php
*** State.php	14 Jan 2007 19:31:33 -0000	1.41
--- State.php	3 Mar 2007 07:11:00 -0000
***************
*** 119,125 ****
           $this->setLocName($locName);
           $this->setSessionID($sessionID);

!         $this->isAuthorized = false;

           // Create empty dummy device info. Will be replaced with real
           // DevInf information if they are transferred.
--- 119,125 ----
           $this->setLocName($locName);
           $this->setSessionID($sessionID);

!         $this->_isAuthorized = false;

           // Create empty dummy device info. Will be replaced with real
           // DevInf information if they are transferred.




More information about the sync mailing list