Summary | syncing notes/calendar/tasks to Nokia N95 gives Unsupported Content-Type: for tasks |
Queue | Synchronization |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 09/25/2008 (6126 days ago) |
Due | 09/26/2008 (6125 days ago) |
Updated | 10/07/2008 (6114 days ago) |
Assigned | 10/03/2008 (6118 days ago) |
Resolved | 10/07/2008 (6114 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Taken from Karsten Fourmont
State ⇒ Resolved
http://cvs.horde.org/diff.php/framework/SyncML/SyncML/Sync.php?r1=1.8.4.18&r2=1.8.4.19&ty=u
Assigned to Karsten Fourmont
State ⇒ Assigned
New Attachment: Sync.php.patch
The attached patch that fixes the problem.
New Attachment: devinf.txt
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ syncing notes/calendar/tasks to Nokia N95 gives Unsupported Content-Type: for tasks
Due ⇒ 09/26/2008
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
entries + 77 tasks), only the notes and the calendar events end up on
the N95:
First, 14 notes get send, then ~100 calendar events and then the
Maximum message size is approached and a new session gets started. The
calendar events get fully synced but the tasks produce a "Unsupported
Content-Type" error:
[...]
DEBUG: Sending add from server: 20070628193732.@webmail.tugraz.at
DEBUG: Maximum message size 65535 approached during add; current size: 65072
DEBUG: Return message completed
DEBUG: Finished at 2008-09-25 21:11:34. Packet logged in
/tmp/sync/server_11.wbxml
DEBUG: Backend of class SyncML_Backend_Horde created
DEBUG: Started at 2008-09-25 21:11:48. Packet logged in
/tmp/sync/client_12.wbxml
DEBUG: Existing session continued: ca5ce66a876bd994838649c3c5329cf1
[...]
DEBUG: Adding to client from db tasks, server id
20080615130952.187348frtz49s04k@webmail.tugraz.at
[...]
DEBUG: Sending add from server:
20080924120156.146263cri1b2fack@webmail.tugraz.at
DEBUG: Sending add from server:
20080924102554.3449345vqytnasgi@webmail.tugraz.at
DEBUG: Sending add from server:
20080615130952.187348frtz49s04k@webmail.tugraz.at
ERR: API export call for
20080615130952.187348frtz49s04k@webmail.tugraz.at failed: Unsupported
Content-Type:
[...]
The apache log shows the following error:
PHP Notice: Undefined variable: contentType2 in
/usr/local/lib/php_cvs_dev/SyncML/Sync.php on line 484
There is no problem when the sync can be done at once, and the message
size is not near the maximum.