Summary | toHash fails on some vCards |
Queue | Turba |
Queue Version | 2.3 |
Type | Bug |
State | No Feedback |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org, karsten (at) horde (dot) org, wrobel (at) horde (dot) org |
Requester | gray (at) agora-net (dot) com |
Created | 09/27/2008 (6126 days ago) |
Due | |
Updated | 11/06/2008 (6086 days ago) |
Assigned | 10/23/2008 (6100 days ago) |
Resolved | 11/06/2008 (6086 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Feedback
with the current code.
VERSION:2.1^M
N:Blow;Joe;;;^M
FN:Blow, Joe^M
TITLE:^M
ORG:;^M
BDAY:19700327^M
TEL;HOME;VOICE;X-Synthesis-Ref1:302 834 9999^M
TEL;CELL;VOICE;X-Synthesis-Ref1:302 521 9999^M
EMAIL:Blow@somwhere.net^M
URL:^M
CATEGORIES:Personal^M
NOTE:^M
ADR;HOME:;;;;;;^M
PHOTO:^M
END:VCARD^M
State ⇒ Feedback
Assigned to Jan Schneider
Assigned to Gunnar Wrobel
State ⇒ Assigned
New Attachment: turba.patch
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Turba
Summary ⇒ toHash fails on some vCards
Type ⇒ Bug
latest Synthesis Client on a Windows mobile device.
The incoming hash had two elements as such:
[6] => Array
[name] => TEL
[params] => Array
[HOME] =>
[VOICE] =>
[X-SYNTHESIS-REF1] =>
[value] => 302 834 9999
[values] => Array
[0] => 302 834 9999
[7] => Array
[name] => TEL
[params] => Array
[CELL] =>
[VOICE] =>
[X-SYNTHESIS-REF1] =>
[value] => 302 521 9999
[values] => Array
[0] => 302 521 999
The Cell would work, Home would not (Work was broken too).
Looks like the code is overly careful to work not overwrite work or
phone tel, and sometimes misses it completely.