[Tickets #9207] VCard field 'FN' set with value from configured 'alternative_name' field despite value in field 'lastname' exists.

bugs at horde.org bugs at horde.org
Mon Aug 30 02:19:58 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9207
------------------------------------------------------------------------------
  Ticket             | 9207
  Created By         | mail at sebastianbusch.de
  Summary            | VCard field 'FN' set with value from configured
                     | 'alternative_name' field despite value in field
                     | 'lastname' exists.
  Queue              | Turba
  Version            | 2.3.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | syncml_company.patch
------------------------------------------------------------------------------


mail at sebastianbusch.de (2010-08-29 22:19) wrote:

In <horde>/turba/lib/Driver.php lines 1664 and following, horde checks  
the field configured in 'alternative_name' prior to checking existing  
value for key 'lastname'.

Using the standard configuration for 'alternative_name', the company  
name is put into the field 'FN' of the vcard. Within SyncEvolution and  
Synthesis Android app (possibly other clients as well) the 'FN' field  
takes precedence over other fields. Therefore the company name is set  
as contact name. This is what I have experienced an what has also been  
described in:
http://forum.synthesis.ch/showthread.php?t=2070

My proposed solution is to swap the first two 'if' blocks to have  
horde check for an existing lastname prior to using the  
alternative_name field. See attached patch.






More information about the bugs mailing list