[sync] activeSync: time stamp problem?
Jens-U. Mozdzen
jmozdzen at nde.ag
Tue Dec 18 16:41:59 UTC 2012
Hi,
when I add a new entry on my mobile device, I see the following
ActiveSync trace and the new task is not added to my Kolab task list:
2012-12-18T16:34:10+00:00 DEBUG: [19675] Initializing state for
collection: @Tasks@, synckey: {50d09061-25a4-4ff6-bf18-4b45c0a86742}2
2012-12-18T16:34:10+00:00 DEBUG: [19675] Loading state for synckey
{50d09061-25a4-4ff6-bf18-4b45c0a86742}2
2012-12-18T16:34:10+00:00 DEBUG: I <Add>
2012-12-18T16:34:10+00:00 DEBUG: I <ClientEntryId>
2012-12-18T16:34:10+00:00 DEBUG: I 20121218163407841949
2012-12-18T16:34:10+00:00 DEBUG: I </ClientEntryId>
2012-12-18T16:34:10+00:00 DEBUG: I <Data>
2012-12-18T16:34:10+00:00 DEBUG: I <AirSyncBase:Body>
2012-12-18T16:34:10+00:00 DEBUG: I <AirSyncBase:Type>
2012-12-18T16:34:10+00:00 DEBUG: I 1
2012-12-18T16:34:10+00:00 DEBUG: I </AirSyncBase:Type>
2012-12-18T16:34:10+00:00 DEBUG: I <AirSyncBase:Data>
2012-12-18T16:34:10+00:00 DEBUG: I Test data
2012-12-18T16:34:10+00:00 DEBUG: I </AirSyncBase:Data>
2012-12-18T16:34:10+00:00 DEBUG: I </AirSyncBase:Body>
2012-12-18T16:34:10+00:00 DEBUG: I <POOMTASKS:Subject>
2012-12-18T16:34:10+00:00 DEBUG: I Test task
2012-12-18T16:34:10+00:00 DEBUG: I </POOMTASKS:Subject>
2012-12-18T16:34:10+00:00 DEBUG: I <POOMTASKS:Importance>
2012-12-18T16:34:10+00:00 DEBUG: I 1
2012-12-18T16:34:10+00:00 DEBUG: I </POOMTASKS:Importance>
2012-12-18T16:34:10+00:00 DEBUG: I <POOMTASKS:UtcDueDate>
2012-12-18T16:34:10+00:00 DEBUG: I 2012-12-19T00:00:00.000Z
2012-12-18T16:34:10+00:00 DEBUG: I </POOMTASKS:UtcDueDate>
2012-12-18T16:34:10+00:00 DEBUG: I <POOMTASKS:DueDate>
2012-12-18T16:34:10+00:00 DEBUG: I 2012-12-19T00:00:00.000Z
2012-12-18T16:34:10+00:00 DEBUG: I </POOMTASKS:DueDate>
2012-12-18T16:34:10+00:00 DEBUG: I <POOMTASKS:Complete>
2012-12-18T16:34:10+00:00 DEBUG: I 0
2012-12-18T16:34:10+00:00 DEBUG: I </POOMTASKS:Complete>
2012-12-18T16:34:10+00:00 DEBUG: I </Data>
2012-12-18T16:34:10+00:00 DEBUG:
Horde_Core_ActiveSync_Driver::changeMessage(@Tasks@, )
In Apache's error log, the following corresponding message is logged:
==> /var/log/apache2/error_log <==
[Tue Dec 18 17:34:12 2012] [error] [client 192.168.*.*] PHP Fatal
error: Call to a member function timestamp() on a non-object in
/srv/www/htdocs/horde5/nag/lib/Task.php on line 1377
The error occurs in the following code:
1350 /**
1351 * Create a nag Task object from an activesync message
1352 *
1353 * @param Horde_ActiveSync_Message_Task $message The task object
1354 */
1355 public function fromASTask(Horde_ActiveSync_Message_Task $message)
1356 {
[...]
1375 /* Due Date */
1376 if ($due = $message->utcduedate || $due = $message->duedate) {
1377 $this->due = $due->timestamp();
1378 }
Anything that catches the experienced eye?
Regards,
Jens
More information about the sync
mailing list