6.0.0-RC7
6/23/26

[#10907] SyncML Error on empty content (w/ Lightning Funambol plugin tb8+dev8)
Summary SyncML Error on empty content (w/ Lightning Funambol plugin tb8+dev8)
Queue Turba
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester sberthelot (at) emisfr (dot) com
Created 1/6/12 (5282 days ago)
Due
Updated 1/27/12 (5261 days ago)
Assigned 1/12/12 (5276 days ago)
Resolved 1/27/12 (5261 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
92 Jan Schneider State ⇒ Resolved
Patch ⇒ No
 
3912 sberthelot (at) emisfr (dot) com Comment #3 Reply to this comment
This is fixed in horde webmail 4.0.6. I didn't track down what commit 
fixed it but it's OK for me now (empty content)

I'll investigate later with AlternateEmails since I deleted them from 
all my Address Books previously.
51 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please read http://wiki.horde.org/SyncMLProblemReport and follow the 
steps to generate complete SyncML debugging information. Obviously 
without your patch applied.
22 sberthelot (at) emisfr (dot) com Comment #1
Priority ⇒ 2. Medium
New Attachment: turba_funambol_api.diff Download
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ SyncML Error on empty content (w/ Lightning Funambol plugin tb8+dev8)
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Turba
Reply to this comment
When Syncing *ONLY* contacts with Thunderbird using Funambol I get an error.

(I use .ics directly on CalDav for Calendar & Tasks, with two separate 
ICS URLs, one for calendar and another for Tasks, maybe a composite 
ics coule be developped...)

For a strange reason when syncing only Contacts (other options 
disabled) after first Sync (in two-way sync after the first one that 
was succesful) Funambol seems to send a 1 character content (space / 
carriage return) for the Calendar part of the SyncML message.

Turba then throws an error of invalid content at parsing and sync is aborted.
The included patch simply ignores entries with empty or 1 character 
only content (that should be always invalid) and ignore them so the 
sync can complete

BTW when using "Alternative email" on Thunderbird Address Book and 
Syncing using Funambol (tested also on tb9+dev9)  I get "Already 
Exists" exceptions (around line 741 of turba/lib/Api.php) and the Sync 
fails. Shouldn't duplicates be reported as Warning (and then ignored) 
rather than Exceptions that cancel the sync ?

Saved Queries