[Tickets #7281] First Email from vCard ends up in email by default

bugs at horde.org bugs at horde.org
Wed Sep 3 21:23:04 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/7281
------------------------------------------------------------------------------
  Ticket             | 7281
  Created By         | stefan at knoess.se
  Summary            | First Email from vCard ends up in email by default
  Queue              | Turba
  Version            | 2.2.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


stefan at knoess.se (2008-09-03 17:23) wrote:

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 at 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.






More information about the bugs mailing list