6.0.0-beta1
7/6/25

[#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 01/06/2012 (4930 days ago)
Due
Updated 01/27/2012 (4909 days ago)
Assigned 01/12/2012 (4924 days ago)
Resolved 01/27/2012 (4909 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/27/2012 02:43:09 PM Jan Schneider State ⇒ Resolved
Patch ⇒ No
 
01/27/2012 12:59:39 PM 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.
01/12/2012 01:43:05 PM 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.
01/06/2012 02:10:02 PM 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