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 |
Patch ⇒ No
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.
State ⇒ Feedback
steps to generate complete SyncML debugging information. Obviously
without your patch applied.
Priority ⇒ 2. Medium
New Attachment: turba_funambol_api.diff
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ SyncML Error on empty content (w/ Lightning Funambol plugin tb8+dev8)
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Turba
(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 ?