<?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>trimming composite fields</title> 
  <pubDate>Fri, 10 Apr 2026 20:05:41 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8654</link> 
  <atom:link rel="self" type="application/rss+xml" title="trimming composite fields" href="https://bugs.horde.org/ticket/8654/rss" /> 
  <description>trimming composite fields</description> 
 
   
   
  <item> 
   <title>a trim() is often not enough for a composite field, if some </title> 
   <description>a trim() is often not enough for a composite field, if some of the fields it is composed from are empty. 



I always patch in toDriverKeys() the trim() with a preg_replace(&#039;/\s\s+/&#039;, &#039; &#039;, ...). This avoids names such as &quot;Firstname__Lastname&quot;, if the middle name is empty.</description> 
   <pubDate>Tue, 20 Oct 2009 16:28:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8654#t56357</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Condense whi</title> 
   <description>Changes have been made in Git for this ticket:

Condense whitespace in composite fields (Request #8654).

http://git.horde.org/diff.php/turba/docs/CHANGES?rt=horde-hatchery&amp;r1=0b2556e1780336d4bbb3e0e4874acf008754a7f5&amp;r2=5e439288c37893b800669b3d521dd84d59d0d41f
http://git.horde.org/diff.php/turba/lib/Driver.php?rt=horde-hatchery&amp;r1=82bb2e1d13c4b192fa4d6156e0aa1ac5597190fa&amp;r2=5e439288c37893b800669b3d521dd84d59d0d41f</description> 
   <pubDate>Tue, 20 Oct 2009 22:08:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8654#t56361</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

MFH: Condens</title> 
   <description>Changes have been made in CVS for this ticket:

MFH: Condense whitespace in composite fields (Request #8654).
http://cvs.horde.org/diff.php/turba/docs/CHANGES?rt=horde&amp;r1=1.181.2.240&amp;r2=1.181.2.241&amp;ty=u
http://cvs.horde.org/diff.php/turba/lib/Driver.php?rt=horde&amp;r1=1.57.2.91&amp;r2=1.57.2.92&amp;ty=u</description> 
   <pubDate>Tue, 20 Oct 2009 22:10:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8654#t56362</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Condense whi</title> 
   <description>Changes have been made in Git for this ticket:

Condense whitespace in composite fields (Request #8654).

http://git.horde.org/diff.php/turba/docs/CHANGES?rt=horde-git&amp;r1=0b2556e1780336d4bbb3e0e4874acf008754a7f5&amp;r2=5e439288c37893b800669b3d521dd84d59d0d41f
http://git.horde.org/diff.php/turba/lib/Driver.php?rt=horde-git&amp;r1=82bb2e1d13c4b192fa4d6156e0aa1ac5597190fa&amp;r2=5e439288c37893b800669b3d521dd84d59d0d41f</description> 
   <pubDate>Wed, 13 Jan 2010 00:14:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8654#t57644</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
