[Tickets #10912] Funambol/Android don't receive homePhone and workPhone

bugs at horde.org bugs at horde.org
Mon Jan 9 20:20:43 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/10912
------------------------------------------------------------------------------
  Ticket           | 10912
  Erstellt Von     | christoph.greubel at bufflon.de
  Zusammenfassung  | Funambol/Android don't receive homePhone and workPhone
  Warteschlange    | Turba
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            | 1
  Zuständige       |
------------------------------------------------------------------------------


christoph.greubel at bufflon.de (2012-01-09 20:20) hat geschrieben:

Dear Developer,

when I try to sync contacts between my Android phone (HTC Desire S)  
and Horde/turba (3.0.11-git) using Funambol (10.0.7) no homePhone and  
workPhone numbers are sent to my phone.

I tried to understand the problem. Here a short summary:
In turba/lib/Driver.php:1059 the if statement is true resulting in a  
break. The statement is true because syncing with funambol (in my  
case) in the fields variable the entry  
"$fields['TEL']->Params['TYPE']->ValEnum['HOME']" does not exist, but  
an entry "$fields['TEL']->Params['TYPE']->ValEnum['VOICE,HOME']"  do  
exists (checked by var_dump($fields) and also visible in the funambol  
logs). The same happens some lines below after "case workPhone:". Thus  
"vcard->setAttribute( 'TEL' ..." is not executed for homePhone and  
workPhone.
I am not sure if this is a bug of turba or funambol ignoring the  
standard but I attached a patch, in which  the if statement is only  
true if neither "$fields['TEL']->Params['TYPE']->ValEnum['HOME']" nor  
"$fields['TEL']->Params['TYPE']->ValEnum['VOICE,HOME']" exists.

Many thanks,

Christoph



christoph.greubel at bufflon.de (2012-01-09 20:20) hat hochgeladen: cg.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=cg.patch&ticket=10912&fn=%2Fcg.patch





More information about the bugs mailing list