<?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>When using a combined name-field with storage, toHash will use fieldnames instead of fieldvalues</title> 
  <pubDate>Fri, 10 Apr 2026 12:48:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6568</link> 
  <atom:link rel="self" type="application/rss+xml" title="When using a combined name-field with storage, toHash will use fieldnames instead of fieldvalues" href="https://bugs.horde.org/ticket/6568/rss" /> 
  <description>When using a combined name-field with storage, toHash will use fieldnames instead of fieldvalues</description> 
 
   
   
  <item> 
   <title>turba/lib/Driver.php has a little bug in toHash().

Patch at</title> 
   <description>turba/lib/Driver.php has a little bug in toHash().

Patch attached...



When using a name-field which is combined and saved to the underlying storage 

&#039;name&#039; =&gt; array(&#039;fields&#039; =&gt; array(&#039;jobtitle&#039;, &#039;firstname&#039;, &#039;lastname&#039;),

                        &#039;format&#039; =&gt; &#039;%s %s %s&#039;,

                        &#039;attribute&#039; =&gt; &#039;cn&#039;),

the toHash-Function will set the field-value to the NAMES of the fields instead of the VALUES.



Patch attached.



regards

Lukas

</description> 
   <pubDate>Fri, 04 Apr 2008 19:14:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6568#t44422</link> 
  </item> 
   
  <item> 
   <title>I took the opportunity and cleaned up the name processing in</title> 
   <description>I took the opportunity and cleaned up the name processing in toHash() a bit, including your fix, thanks.</description> 
   <pubDate>Fri, 04 Apr 2008 22:10:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6568#t44430</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
