6.0.0-beta1
9/15/25

[#7281] First Email from vCard ends up in email by default
Summary First Email from vCard ends up in email by default
Queue Turba
Queue Version 2.2.1
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester stefan (at) knoess (dot) se
Created 09/03/2008 (6221 days ago)
Due
Updated 09/08/2008 (6216 days ago)
Assigned 09/08/2008 (6216 days ago)
Resolved 09/08/2008 (6216 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/08/2008 03:38:36 PM Jan Schneider Comment #4
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
09/08/2008 03:36:22 PM CVS Commit Comment #3 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/turba/lib/Driver.php?r1=1.217&r2=1.218&ty=u
09/08/2008 02:31:32 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
09/08/2008 02:31:20 PM CVS Commit Comment #2 Reply to this comment
09/03/2008 09:23:04 PM stefan (at) knoess (dot) se Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ First Email from vCard ends up in email by default
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
In function "toHash" in turba/lib/Driver.php the first imported email 
address automatically ends up in attribute "email" independant of 
intended target (e.g. EMAIL;WORK;INTERNET: email@here.com -> should be 
stored in "workEmail"). This behaviour is caused by the first 
IF-clause in the email section ( !isset($hash['email']) ). Further 
imports are handled correctly because "email" already is populated by 
then.

In general, the connection of the "PREF" key word with an unset 
"email" attribute in order to store the imported email address in 
"mail" is not clear to to me.


Saved Queries