Re: Issues with MySync DS / Android

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <20120902144414.Horde.3UE5RJcRtLVQQ6j_opswVlA@h4.theupstairsroom.com>
Please don't top post.

Quoting Carsten Schumann <[email protected]>:

> Hi Mike,
>
> as fas as I  understand, the backends.php (for turba) does only  
> cover the data providers for the adressbook. These providers  
> (standard horde localsql database) work fine for me. My issue is  
> related to SyncML which is (as far as I understand) not covered by  
> the backends.php, is it?

No, backends.php defines (among other things) the mappings available  
and how they map between turba's fields and the backend storage's  
fields. The sync code will only export mappings present in this file.  
E.g., the 'HOME' vCard attribute will only be exported if if the  
'homePhone' mapping is present in backends.php.



>>
>>> Hi Guys,
>>>
>>> currently I am struggling while trying to sync my Android phone   
>>> against Horde4 (up to date PEAR version) Turba.
>>>
>>> Names, Adresses and Email adresses are synced fine, but phone   
>>> numbers are not synced from Horde to Android.
>>>
>>> When Reading the client_11.xml logfile I can see a section   
>>> describing the VCARD capabilities of the device:
>>>
>>> [...]
>>> <PropName>TEL</PropName>
>>> <PropParam>
>>> <ParamName>TYPE</ParamName>
>>> <ValEnum>VOICE,HOME</ValEnum>
>>> <ValEnum>VOICE,WORK</ValEnum>
>>> <ValEnum>CELL</ValEnum>
>>> <ValEnum>VOICE</ValEnum>
>>> <ValEnum>FAX,HOME</ValEnum>
>>> <ValEnum>FAX,WORK</ValEnum>
>>> <ValEnum>PAGER</ValEnum>
>>> <ValEnum>WORK,PREF</ValEnum>
>>> <ValEnum>FAX</ValEnum>
>>> <ValEnum>PREF,VOICE</ValEnum>
>>> </PropParam>
>>> </Property>
>>> [...]
>>>
>>> So it seems to me, the client is able to sync the fields   
>>> TEL;VOICE,HOME and TEL;CELL.
>>>
>>> When looking into the data.txt of the sync log, these fields seem  
>>> to be omitted:
>>>
>>> [BEGIN data.txt, whole file]
>>> Output received from backend (text/x-vcard):
>>> BEGIN:VCARDM
>>> VERSION:2.1M
>>> NICKNAME:M
>>> BDAY:M
>>> X-ANNIVERSARY:M
>>> X-SPOUSE:M
>>> PHOTO:M
>>> TZ;VALUE=text:M
>>> EMAIL;INTERNET:[email protected]
>>> TEL;FAX:+493M
>>> TEL;FAX:+494M
>>> TEL;PAGER:+495M
>>> TITLE:M
>>> NOTE:M
>>> URL:M
>>> N:Forename;Lastname;;;M
>>> ORG:;M
>>> ADR;HOME:124ZIPTEST;;AddrTest;CityTest;;;M
>>> ADR;WORK:;;;;;;M
>>> END:VCARDM
>>> [END data.txt]
>>>
>>> To me, it seems that there is a issue with the field mapping with   
>>> this particular SyncML client.
>>>
>>> Any ideas how to track down or fix that issue?
>>>
>>> Thanks in advance.
>>
>> What does your backends.php file look like for this address book source?
>
> -- 
> sync mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]


-- 
mike

The Horde Project (www.horde.org)
[email protected]

-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.