Summary | Sync with Android / Funambol |
Queue | Synchronization |
Queue Version | Git master |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | hordebug (at) zulan (dot) net |
Created | 07/17/2011 (5101 days ago) |
Due | |
Updated | 02/03/2012 (4900 days ago) |
Assigned | 12/19/2011 (4946 days ago) |
Resolved | 12/19/2011 (4946 days ago) |
Milestone | |
Patch | No |
http://bugs.horde.org/ticket/10912
on patched 2.3.6 Turba, with funambol android latest 10.0.8
Great Job Jan
2012-02-03T14:30:02+01:00 WARN: HORDE [turba] PHP ERROR: explode()
expects parameter 2 to be string, array given [pid 11512 on line
1063 of "...a/lib/Driver.php"]
too...
bug #10912.2012-02-03T14:30:02+01:00 WARN: HORDE [turba] PHP ERROR: explode()
expects parameter 2 to be string, array given [pid 11512 on line 1063
of "...a/lib/Driver.php"]
too...
from Horde to Funambol android :(
Should I open a new issue?
try an older android funambol version
http://d.funambol.com/Android/release/9.0.3/funambol-android-sync-client-9.0.3.apk
works at my motorola milestone
i allready reported it to funambol, some others did patches at them
seems they dont care, dont know if Horde people get that fixed on the
server side
guess this eats much time for debug
Regards
from Horde to Funambol android :(
Should I open a new issue?
New Attachment: bug10349.patch
State ⇒ Resolved
ticket #7248had to be fixed first. Because of this, it cannot bebackported officially, because that would break BC.
[jan] Set VOICE parameter when exporting phone numbers to vCard
(
Request #10349).4 files changed, 37 insertions(+), 29 deletions(-)
http://git.horde.org/horde-git/-/commit/0eb3c9de6cb4577018a731428fce11fb2beb52ea
State ⇒ Assigned
Type ⇒ Enhancement
to (kronolith) H3 (2.3.5) ?
New Attachment: Driver.php.patch
Assigned to Jan Schneider
the contact is synced from funambol client (phone) to Horde Turba
3.0.9 and I get an error like this:
--
Évforduló
Helyrehozhatatlan hiba történt
Failed to parse time string (--)
1. Turba_View_Contact->html()
/srv/www/oregpreshaz.eu/ssl/horde2.oregpreshaz.eu/turba/contact.php:113
2. Horde_Form->renderInactive()
/srv/www/oregpreshaz.eu/ssl/horde2.oregpreshaz.eu/turba/lib/View/Contact.php:58
3. Horde_Form_Renderer->renderFormInactive() /usr/share/php/Horde/Form.php:531
4. Horde_Form_Renderer->_renderForm()
/usr/share/php/Horde/Form/Renderer.php:226
5. Horde_Core_Ui_VarRenderer->render()
/usr/share/php/Horde/Form/Renderer.php:276
6. Horde_Core_Ui_VarRenderer_Html->_renderVarDisplay_monthdayyear()
/usr/share/php/Horde/Core/Ui/VarRenderer.php:85
7. Horde_Form_Type_monthdayyear->formatDate()
/usr/share/php/Horde/Core/Ui/VarRenderer/Html.php:1356
8. Horde_Form_Type_monthdayyear->getDateOb()
/usr/share/php/Horde/Form/Type.php:2897
9. Horde_Date->__construct() /usr/share/php/Horde/Form/Type.php:2879
Details
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
Horde_Date_Exception Object
(
[details] =>
[message:protected] => Failed to parse time string (--)
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /usr/share/php/Horde/Date.php
[line:protected] => 253
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /usr/share/php/Horde/Form/Type.php
[line] => 2879
[function] => __construct
[class] => Horde_Date
[type] => ->
[args] => Array
(
[0] => --
)
)
New Attachment: 0001-turba-support-vcard-SyncML-requests-for-TEL-round-2.patch
server code back to my git repo and put some code in the wrong place.
This one should be better.
New Attachment: 0001-turba-support-vcard-SyncML-requests-for-TEL-that-inc.patch
partially resolved. I have a patch that resolves the remaining issues
that I will attach to this bug.
now).
Horde --> Droid
Home Phone: MISSING!
Work Phone: MISSING!
turba is configured for those fields) also do not sync from Horde to
the phone. It appears that this is a result of the Funambol client
explicitly specifying the TEL fields' types with the "VOICE" param
(which I believe is the implicit default) for the phone numbers and
likewise, specifying "INTERNET" for the EMAIL fields. I have extended
Turba's Driver.php to accept requests that explicitly specify these
params, and to respond appropriately. With this patch, my fields now
sync properly to my Android phone.
Email: MISSING!
Other Phone: Missing
submitter was missing the fields in his configuration. I was able to
get working by simply adding the appropriate fields to the database
and to Turba's attributes.php and backends.php. For example:
ALTER TABLE turba_objects ADD object_workemail VARCHAR(255);
ALTER TABLE turba_objects ADD object_homeemail VARCHAR(255);
ALTER TABLE turba_objects ADD object_phone VARCHAR(25);
Then to attributes.php:
$attributes['workEmail'] = array(
'label' => _("Work Email"),
'type' => 'email',
'required' => false,
'params' => array('allow_multi' => false, 'strip_domain' =>
false, 'link_compose' => true)
);
$attributes['homeEmail'] = array(
'label' => _("Home Email"),
'type' => 'email',
'required' => false,
'params' => array('allow_multi' => false, 'strip_domain' =>
false, 'link_compose' => true)
}
and to backends, right after
'email' => 'object_email',
add
'phone' => 'object_phone',
'homeEmail' => 'object_homeemail',
'workEmail' => 'object_workemail',
then in the "Communications" section in that same file, be sure to add
the new phone, homeEmail and workEmail fields.
BFN
#103491 files changed, 2 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/0f152049636616360b29e9b6df5972a1975c2d97
Fixed funambol allday setting for event sync
Bug: 10349Signed-off-by: Jan Schneider <jan@horde.org>
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/4b08fe2e43b4157aecbb072eaf5badb45cf7c2ae
http://zulan.net/0001-Fixed-funambol-allday-setting-for-event-sync.patch
(works fine for me)
git version, but I got the latest one running.
The calendar sync from Horde -> Android works partially now.
The start and end time is missing on my synced android.
I believe the reason might be in the allday description the server
sends to the client:
DTSTART:20110828T100000Z
DTEND:20110828T160000Z
X-FUNAMBOL-ALLDAY:1
DTSTAMP:20110809T153548Z
DCREATED:20110809T153429Z
With respect to contacts:
Android -> Horde
This created an invalid contact, because the anniversary contained the
string "--", that crashed the PHP script. The client vcard contained:
X-ANNIVERSARY:
Email is now working!
Instant messanger is not working. The client sends:
EMAIL;INTERNET;HOME;X-FUNAMBOL-INSTANTMESSENGER:f9p@ja.example.com
Horde -> Android
Home Phone and Work Phone are still missing.
Instant messanger is also missing.
Those are not included in the server.xml
State ⇒ Feedback
Priority ⇒ 2. Medium
set the new sync_calendars preference. The fix just defaults to the
user's main calendar if it's not set.
fixed (
Bug: 10329), are you sure you are running latest git master?that when creating the ticket).
I will try git and will let you know how it behaves.
Thanks
No updates are sent at all. Horde does not attempt to sync newly created or
modified calendar events. The sync logs provided are after I created a new
event with kronolith.
fixed (
Bug: 10329), are you sure you are running latest git master?Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Sync with Android / Funambol
Type ⇒ Bug
now).
Funambol Sync Version 10.0.5
I set the Server names to "contacts" and "calendar"
Horde 4.0.7
kronolith 3.0.5
turba 3.0.4
(all installed yesterday using pear on a Debian squeeze)
Full sync logs are at http://zulan.net/sync.tar.gz
Contacts:
Basically both directions are working, but some values are missing
Horde --> Droid
Location: OK
Email: Ok
Home Phone: MISSING!
Work Phone: MISSING!
Mobile Phone: OK
Fax : OK
Photo: Not OK, missing image driver
Droid --> Horde
Location: OK
Email: MISSING!
Home Phone: OK
Work Phone: OK
Mobile Phone: OK
Other Phone: Missing
Excerpt from data.txt
Input received from client (text/x-vcard):
BEGIN:VCARD
VERSION:2.1
TEL;VOICE:3333 --> Horde does not use
EMAIL;INTERNET;HOME:mobilr@example.com --> Horde Does not use
END:VCARD
In the other way, the backend data does not contain Home / Work Phone!
Calendar:
Droid --> Horde
Seems to work reasonably
Horde --> Droid
No updates are sent at all. Horde does not attempt to sync newly created or
modified calendar events. The sync logs provided are after I created a new
event with kronolith.