[Tickets #10907] SyncML Error on empty content (w/ Lightning Funambol plugin tb8+dev8)

bugs at horde.org bugs at horde.org
Fri Jan 6 14:10:03 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10907
------------------------------------------------------------------------------
  Ticket             | 10907
  Created By         | sberthelot at emisfr.com
  Summary            | SyncML Error on empty content (w/ Lightning Funambol
                     | plugin tb8+dev8)
  Queue              | Turba
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


sberthelot at emisfr.com (2012-01-06 14:10) wrote:

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 ?



sberthelot at emisfr.com (2012-01-06 14:10) uploaded: turba_funambol_api.diff

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=turba_funambol_api.diff&ticket=10907&fn=%2Fturba_funambol_api.diff





More information about the bugs mailing list