Summary | Phone numbers not syncronized |
Queue | Turba |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | anders.lund (at) uninett (dot) no |
Created | 05/23/2008 (6266 days ago) |
Due | |
Updated | 06/12/2008 (6246 days ago) |
Assigned | 05/25/2008 (6264 days ago) |
Resolved | 06/12/2008 (6246 days ago) |
Github Issue Link | |
Github Pull Request | |
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
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'];
}
Version ⇒ HEAD
Queue ⇒ Turba
Assigned to Jan Schneider
State ⇒ Assigned
State ⇒ Duplicate
bug 6574.Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Phone numbers not syncronized
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
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.