Summary | VCard import - unmapped email with TYPE tag |
Queue | Turba |
Queue Version | 4.1.2 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | cybert (at) freenet (dot) de |
Created | 09/28/2013 (4299 days ago) |
Due | 09/28/2013 (4299 days ago) |
Updated | 09/29/2013 (4298 days ago) |
Assigned | |
Resolved | 09/29/2013 (4298 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Not A Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ VCard import - unmapped email with TYPE tag
Due ⇒ 09/28/2013
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ Yes
EMAIL;TYPE=HOME:name@provider1.com
EMAIL;TYPE=HOME:name@provider2.com
EMAIL;TYPE=WORK:name@company.com
The type-tagged email addresses are mapped internally to the hash
fields 'HomeEmail' and 'WorkEmail' but not to 'email' which is used
for display.
If an exceptional duplicate of the same type exists (as shown above)
the field 'email' is set however. As a fix i replaced the line
#2278in turba/lib/driver.php:
if (!$email_set &&
with
if (
Then the first 'TYPE' tagged email is set to 'email' to be displayed.
Of course i would like to see all email-addresses, but that's another
story ...
cybert