Summary | VCard field 'FN' set with value from configured 'alternative_name' field despite value in field 'lastname' exists. |
Queue | Turba |
Queue Version | 2.3.4 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | mail (at) sebastianbusch (dot) de |
Created | 08/30/2010 (5437 days ago) |
Due | |
Updated | 09/21/2010 (5415 days ago) |
Assigned | |
Resolved | 09/21/2010 (5415 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 2.3.5 |
Patch | No |
MFB: [jan] Correctly export FN vCard property if 'alternative_name'
is set, but not 'name' (
Bug #9207). Fix charset conversion.http://git.horde.org/diff.php/turba/docs/CHANGES?rt=horde-git&r1=335924da29ef054cbc90ff81a5db6c33dce1e07e&r2=64b129a807e7a623c37b2a60e72d9c931b8d9752
http://git.horde.org/diff.php/turba/lib/Driver.php?rt=horde-git&r1=d7c6b3bd8b3b8016111049034c44aa98eea185d8&r2=64b129a807e7a623c37b2a60e72d9c931b8d9752
MFB: Add test case for
bug #9207.http://git.horde.org/diff.php/turba/lib/tests/tovcard.phpt?rt=horde-git&r1=99d3ec3de78ee8fb862d211e2b330747a31aac23&r2=74474f75171c15122c6eabd3e105278338189ba4
State ⇒ Resolved
Milestone ⇒ 2.3.5
Patch ⇒ No
[jan] Correctly export FN vCard property if 'alternative_name' is set, but not
'name' (
Bug #9207).Fix charset conversion.
http://cvs.horde.org/diff.php/turba/docs/CHANGES?rt=horder1=1.181.2.254r2=1.181.2.255ty=u
http://cvs.horde.org/diff.php/turba/lib/Driver.php?rt=horder1=1.57.2.97r2=1.57.2.98ty=u
Add test case for
bug #9207.http://cvs.horde.org/diff.php/turba/lib/tests/tovcard.phpt?rt=horder1=1.1.2.7r2=1.1.2.8ty=u
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ VCard field 'FN' set with value from configured 'alternative_name' field despite value in field 'lastname' exists.
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
New Attachment: syncml_company.patch
State ⇒ Unconfirmed
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.