[sync] An extra ";" in Company after syncing to PPC contact

Jan Schneider jan at horde.org
Thu Mar 1 12:44:41 PST 2007


Zitat von Naoyuki Tai <ntai at smartfruit.com>:

> Jan Schneider wrote:
>
>> Zitat von Naoyuki Tai <ntai at smartfruit.com>:
>>
>>> Hello,
>>>
>>> I tried syncing with my empty PPC with Funambol sync
>>> client.
>>>
>>> I see a lot of warnings, etc. in the horde.log, which
>>> I'll ask some other time.
>>>
>>> The biggest problem is that, in the contacts, every
>>> "Company" entry has an extra ";" at the end.
>>> So, if the Company is "Horde", PPC's Company name
>>> shows
>>>
>>> Horde;
>>>
>>> Even every empty "Company" has ";".
>>> No other fields have the same problem.
>>>
>>> The turba_objects (pgsql db) don't have the extra ";"
>>> in any of "Company" column. So, it must be sneaking in
>>>
>>>> from somewhere while it's creating the reply to PPC.
>>>
>>>
>>> I'd like to find out who is appending the extra.
>>>
>>> First thing I'd like to see is what's Apache is returning
>>> to PPC.
>>> I don't know enough to get around the Horde code base.
>>> (I've been getting used to tho.)
>>>
>>> Any clue is greatly appriciated.
>>>
>>> I use the HEAD of Horde CVS.
>>
>>
>> Fixed in CVS.
>>
>> Jan.
>>
>
> Jan,
> Thanks.
>
> I checked out the horde and framework and installed, and
> I did the sync.
> Now, empty "Company" field looks like:
>
> ;;;;;;
>
> (six semicolons)
>
> And, if the entry has a home address, the "Company" shows:
>
> ;;1 Post office road  Boston, MA; United States;;;;United States
>
> Jan, could you please tell me where in the CVS tree to look at,
> so that I can tinker until it works.

turba/lib/Driver.php, Turba_Driver::tovCard().

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list