<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Handling bad VCARD format from the iPhone.</title> 
  <pubDate>Thu, 09 Apr 2026 22:37:17 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/14673</link> 
  <atom:link rel="self" type="application/rss+xml" title="Handling bad VCARD format from the iPhone." href="https://bugs.horde.org/ticket/14673/rss" /> 
  <description>Handling bad VCARD format from the iPhone.</description> 
 
   
   
  <item> 
   <title>Configuration: horde and iOS contact are kept in sync using </title> 
   <description>Configuration: horde and iOS contact are kept in sync using with CardDAV.
Horde is installed from the debian distribution (debian stretch).

When adding contacts, the user may not select any &quot;type&quot; field for the telephone number, and there is no default. This breaks the VCARD format, see the attachment.

The problematic line is the following:
TEL;type=pref:+36303770746

This snipplet fixed this for me, by rewriting the &quot;PREF&quot; field to &quot;CELL&quot;.
This may not be the most elegant fix, bit it works for me.

2307d2306
&lt;                         $no_more_fields=true;
2311,2313d2309
&lt;                         if ($no_more_fields &amp;&amp; $type===&#039;PREF&#039;) {
&lt;                             $type=&#039;CELL&#039;;
&lt;                         }
</description> 
   <pubDate>Sat, 29 Jul 2017 05:30:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14673#t92051</link> 
  </item> 
   
  <item> 
   <title>Sorry, I forgot to mention that the diff is for turba/lib/Dr</title> 
   <description>Sorry, I forgot to mention that the diff is for turba/lib/Driver.php

&gt; Configuration: horde and iOS contact are kept in sync using with CardDAV.
&gt; Horde is installed from the debian distribution (debian stretch).
&gt;
&gt; When adding contacts, the user may not select any &quot;type&quot; field for 
&gt; the telephone number, and there is no default. This breaks the VCARD 
&gt; format, see the attachment.
&gt;
&gt; The problematic line is the following:
&gt; TEL;type=pref:+36303770746
&gt;
&gt; This snipplet fixed this for me, by rewriting the &quot;PREF&quot; field to &quot;CELL&quot;.
&gt; This may not be the most elegant fix, bit it works for me.
&gt;
&gt; 2307d2306
&gt; &lt;                         $no_more_fields=true;
&gt; 2311,2313d2309
&gt; &lt;                         if ($no_more_fields &amp;&amp; $type===&#039;PREF&#039;) {
&gt; &lt;                             $type=&#039;CELL&#039;;
&gt; &lt;                         }
&gt;
</description> 
   <pubDate>Sat, 29 Jul 2017 12:24:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14673#t92053</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 8f551adb50f4</title> 
   <description>Changes have been made in Git (master):

commit 8f551adb50f4d1d04e81a0bd1b6597f81b44533e
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Aug 3 21:26:41 2017 +0200

    Add test which doesn&#039;t exhibit bug #14673 though.

 turba/test/Turba/Unit/ImportTest.php | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

http://github.com/horde/horde/commit/8f551adb50f4d1d04e81a0bd1b6597f81b44533e</description> 
   <pubDate>Thu, 03 Aug 2017 19:38:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14673#t92078</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 606eeaec2bfd</title> 
   <description>Changes have been made in Git (master):

commit 606eeaec2bfddec095c078606d5ad482580fa1e0
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Aug 3 21:33:31 2017 +0200

    Catch all attributes that don&#039;t match exactly.
    
    Extend solution for bug #14301 to keep all email, phone, and address type attributes and try to store them to a different attribute of the same type, if the detected attribute doesn&#039;t map to an existing field in the backend.
    
    Bug: 14673

 turba/docs/CHANGES   |  2 ++
 turba/lib/Driver.php | 38 +++++++++++++-------
 turba/lib/Object.php | 97 +++++++++++++++++++++++++++++-----------------------
 turba/package.xml    |  2 ++
 4 files changed, 83 insertions(+), 56 deletions(-)

http://github.com/horde/horde/commit/606eeaec2bfddec095c078606d5ad482580fa1e0</description> 
   <pubDate>Thu, 03 Aug 2017 19:38:46 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14673#t92080</link> 
  </item> 
   
  <item> 
   <title>Since this is a major change in how we add contacts to the b</title> 
   <description>Since this is a major change in how we add contacts to the backend, I won&#039;t backport it for now. Maybe at some later point after it proved to not introduce any regressions.</description> 
   <pubDate>Thu, 03 Aug 2017 19:40:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/14673#t92082</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
