| Summary | Phone numbers not syncronized |
| Queue | Turba |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | Jan Schneider <jan (at) horde (dot) org> |
| Requester | anders (dot) lund (at) uninett (dot) no |
| Created | 05/23/2008 (1825 days ago) |
| Due | |
| Updated | 06/12/2008 (1805 days ago) |
| Assigned | 05/25/2008 (1823 days ago) |
| Resolved | 06/12/2008 (1805 days ago) |
| Attachments | |
| Milestone | |
| Patch | No |
http://cvs.horde.org/diff.php/turba/docs/CHANGES?r1=1.181.2.167&r2=1.181.2.168&ty=u
http://cvs.horde.org/diff.php/turba/lib/Driver.php?r1=1.57.2.59&r2=1.57.2.60&ty=u
http://cvs.horde.org/diff.php/turba/lib/tests/tohash.phpt?r1=1.3.2.3&r2=1.3.2.4&ty=u
State ⇒ Resolved
http://cvs.horde.org/diff.php/turba/lib/Driver.php?r1=1.197&r2=1.198&ty=u
http://cvs.horde.org/diff.php/turba/lib/tests/tohash.phpt?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/turba/lib/tests/tovcard.phpt?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/turba/lib/Driver.php?r1=1.196&r2=1.197&ty=u
"Tel. (home)" on N95 <-> "Home Phone" in Horde
"Tel. (business)" on N95 <-> "Work Phone" in Horde
It partly seems to work if I include Thunderbird Addressbook in this
scenario as well. But some strange behaviour seem to be present when I
do this. (Work Phone not present after I've done N95 -> Horde, and
then Horde -> Thunderbird for example.) This might be because of some
other problem. Don't know yet, and haven't had any time to look more
into that.
So closer to what I want. Good.
- Anders
It has to do with the "VOICE" parameter, that turba/lib/Driver does
not understand.
Insert the following code at line 1524, before "} elseif
(count($item['params']) <= 1) {"
} elseif (isset($item['params']['VOICE'])) {
if (isset($item['params']['WORK'])) {
$hash['workPhone'] = $item['value'];
} elseif (isset($item['params']['HOME'])) {
$hash['homePhone'] = $item['value'];
} else {
$hash['phone'] = $item['value'];
}
prohibits importing home telephone numbers from the Motorola V3:
} elseif (count($item['params']) <= 1) {
// There might be e.g. SAT;WORK which must not
// overwrite WORK.
if (isset($item['params']['WORK'])) {
$hash['workPhone'] = $item['value'];
} elseif (isset($item['params']['WORK'])) { //
<--- THIS SHOULD BE 'HOME'
$hash['homePhone'] = $item['value'];
} elseif (count($item['params']) == 0) {
$hash['phone'] = $item['value'];
}
Regards, Jörg
}
break;
not understand.
It has to do with the "VOICE" parameter, that turba/lib/Driver does
not understand.
Insert the following code at line 1524, before "} elseif
(count($item['params']) <= 1) {"
} elseif (isset($item['params']['VOICE'])) {
if (isset($item['params']['WORK'])) {
$hash['workPhone'] = $item['value'];
} elseif (isset($item['params']['HOME'])) {
$hash['homePhone'] = $item['value'];
} else {
$hash['phone'] = $item['value'];
}
Queue ⇒ Turba
Version ⇒ HEAD
State ⇒ Assigned
Assigned to Jan Schneider
State ⇒ Duplicate
bug 6574.State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Phone numbers not syncronized
Type ⇒ Bug
Priority ⇒ 2. Medium
seem to work with other phone numbers than cell phone. Using Horde
Groupware Webmail Edition 1.1 RC4.
/tmp/sync/data.txt has:
Input received from client (text/x-vcard):
BEGIN:VCARD
VERSION:2.1
REV:20080523T071425Z
N:B;A;;;
TEL;CELL:1
TEL;VOICE:4
X-CLASS:private
TEL;CELL;HOME:2
TEL;CELL;WORK:3
TEL;VOICE;HOME:5
TEL;VOICE;WORK:6
END:VCARD
(using SyncML library from CVS to get more output in data.txt)
This is when a contact has been created on a Nokia N95. After sync
only cellPhone seems to be handled correctly.