activeSync: time stamp problem?

"Jens-U. Mozdzen" <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
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

-- 
sync mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.