[sync] activeSync: time stamp problem?

Michael J Rubinsky mrubinsk at horde.org
Tue Dec 18 16:50:53 UTC 2012


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:
>
> 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         }
>

Already fixed in Git:

https://github.com/horde/horde/commit/6004bf8625765f9c5fd7331158cf01bd0e30d3a9#nag


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6062 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/sync/attachments/20121218/7e9d0ac0/attachment-0001.bin>


More information about the sync mailing list