[sync] activeSync: time stamp problem?
Jens-U. Mozdzen
jmozdzen at nde.ag
Tue Dec 18 17:27:21 UTC 2012
Zitat von sync-request at lists.horde.org:
> From: Michael J Rubinsky <mrubinsk at horde.org>
> Quoting "Jens-U. Mozdzen" <jmozdzen at nde.ag>:
>
>> 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:
>> [...]
>> [...]
>> ==> /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 }
>>
>
> Already fixed in Git:
>
> https://github.com/horde/horde/commit/6004bf8625765f9c5fd7331158cf01bd0e30d3a9#nag
Confirmed, using that new code the tasks sync.
Great service, fixed before reported :D
Regards,
Jens
More information about the sync
mailing list