6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13706] syncML Calendar sync broken
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. ..__ . .._. | || || \| | | |__||__||__/|__|_|_
Comment
> I get this error when sending a new event from syncML Funambol client > to Horde: > > 2014-11-20T11:02:56+01:00 ERR: HORDE Unable to find addition > timestamp for server id Array at 0 [pid 7208 on line 322 of > "Horde/SyncMl/Sync.php"] > 2014-11-20T11:02:56+01:00 WARN: HORDE PHP ERROR: PDO::quote() expects > parameter 1 to be string, array given [pid 7208 on line 308 of > "Horde/Db/Adapter/Pdo/Base.php"] > 2014-11-20T11:02:56+01:00 ERR: HORDE SQL QUERY FAILED: > SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "," > LINE 1: ...tner, syncml_db, syncml_uid, syncml_cuid) VALUES (, 0, 'fmz-... > ^ > INSERT INTO horde_syncml_map (syncml_suid, syncml_timestamp, > syncml_syncpartner, syncml_db, syncml_uid, syncml_cuid) > VALUES (, 0, > 'fmz-l6IH/XXXXXXXXXX==', 'calendar', 'xxxxx', > 'XXXXXXXXXXXXXXXXXXX') [pid 7208 on line 204 of > "Horde/Db/Adapter/Pdo/Base.php"] > > The new event is created at Horde database. But all sync is lost, and > any editing will create a new event. > > Searching into code, I've found that new events are added one by one > to Horde backend using "import" from Kronolith/lib/Api.php. > That call returns an array of suid, while just a string is expected > at "addEntry" in Horde/SyncMl/Backend/Horde.php. > > The attached patch avoids that, because it never imports more than > one element at a time, although I guess it has to be fixed somewhere > else: > - All other "import" API calls return a string, but Kronolith and Nag. > - Nag "import" returns an array, or a string for a single element . > - Kronolith "import" returns an array.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers