[#14278] Active Sync broken with Outlook 2016
Summary Active Sync broken with Outlook 2016
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk@horde.org
Requester michael.klein@hypaerion.net
Created 2016-03-04 (1295 days ago)
Due
Updated 2016-03-11 (1288 days ago)
Assigned 2016-03-04 (1295 days ago)
Resolved 2016-03-11 (1288 days ago)
Milestone
Patch No

Comments
michael.klein@hypaerion.net 2016-03-04 03:59:45
2016-03-04T03:49:24+00:00 INFO: [22777] 
Horde_Core_ActiveSync_Driver::getMessage(@Calendar@, 
20150720153057.sM3YpxJsS2hTPb-ba6y1fUk@mail.hypaerion.net)
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      <Add>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       <ServerEntryId>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        [57 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       </ServerEntryId>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       <Data>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Timezone>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         [232 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Timezone>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:BusyStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         2
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:BusyStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:DtStamp>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20160304T034923Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:DtStamp>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:EndTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20150721T090000Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:EndTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Reminder>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         15
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Reminder>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Sensitivity>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         0
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Sensitivity>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Subject>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         Dirk
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Subject>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:StartTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20150721T080000Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:StartTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:UID>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         [57 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:UID>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:MeetingStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         0
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:MeetingStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:ResponseType>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         3
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:ResponseType>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       </Data>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      </Add>
2016-03-04T03:49:24+00:00 INFO: [22777] Updating state during change
2016-03-04T03:49:24+00:00 INFO: [22777] Peak memory usage after 
message: 9175040
2016-03-04T03:49:24+00:00 INFO: [22777] 
Horde_Core_ActiveSync_Driver::getMessage(@Calendar@, 
20150712141456.EBRaiI97Yv7Qfeh_Fnn8B8N@mail.hypaerion.net)
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      <Add>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       <ServerEntryId>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        [57 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       </ServerEntryId>
2016-03-04T03:49:24+00:00 ERR: exception 'Horde_ActiveSync_Exception' 
with message 'Pre-encoding validation failded for 
Horde_ActiveSync_Message_Appointment item' in 
/usr/share/php/Horde/ActiveSync/Message/Base.php:489
Stack trace:
#0 /usr/share/php/Horde/ActiveSync/Connector/Exporter.php(374): 
Horde_ActiveSync_Message_Base->encodeStream(Object(Horde_ActiveSync_Wbxml_Encoder))
#1 /usr/share/php/Horde/ActiveSync/Connector/Exporter.php(211): 
Horde_ActiveSync_Connector_Exporter->messageChange('20150712141456....', 
Object(Horde_ActiveSync_Message_Appointment))
#2 /usr/share/php/Horde/ActiveSync/Connector/Exporter.php(156): 
Horde_ActiveSync_Connector_Exporter->_sendNextChange()
#3 /usr/share/php/Horde/ActiveSync/Request/Sync.php(513): 
Horde_ActiveSync_Connector_Exporter->sendNextChange()
#4 /usr/share/php/Horde/ActiveSync/Request/Base.php(253): 
Horde_ActiveSync_Request_Sync->_handle()
#5 /usr/share/php/Horde/ActiveSync.php(831): 
Horde_ActiveSync_Request_Base->handle()
#6 /usr/share/php/Horde/Rpc/ActiveSync.php(143): 
Horde_ActiveSync->handleRequest('Sync', 'FA92FC9336BE4AA...')
#7 /usr/share/horde/rpc.php(160): Horde_Rpc_ActiveSync->getResponse(NULL)
#8 {main}
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      </Add>
2016-03-04T03:49:24+00:00 INFO: [22777] Updating state during change
2016-03-04T03:49:24+00:00 INFO: [22777] Peak memory usage after 
message: 9175040
2016-03-04T03:49:24+00:00 INFO: [22777] 
Horde_Core_ActiveSync_Driver::getMessage(@Calendar@, 
20150712141543.RcO74VVIfzch4byrvJIho75@mail.hypaerion.net)
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      <Add>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       <ServerEntryId>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        [57 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       </ServerEntryId>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       <Data>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Timezone>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         [232 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Timezone>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:BusyStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         2
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:BusyStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:DtStamp>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20160304T034923Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:DtStamp>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:EndTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20150731T220000Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:EndTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Reminder>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         15
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Reminder>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Sensitivity>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         0
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Sensitivity>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:Subject>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         Bierbörse
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:Subject>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:StartTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         20150731T160000Z
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:StartTime>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:UID>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         [57 bytes of content]
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:UID>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:MeetingStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         0
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:MeetingStatus>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        <POOMCAL:ResponseType>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O         3
2016-03-04T03:49:24+00:00 DEBUG: [22777] O        </POOMCAL:ResponseType>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O       </Data>
2016-03-04T03:49:24+00:00 DEBUG: [22777] O      </Add>
2016-03-04T03:49:24+00:00 INFO: [22777] Updating state during change
2016-03-04T03:49:24+00:00 INFO: [22777] Peak memory usage after 
message: 9175040
2016-03-04T03:49:24+00:00 INFO: [22777] 
Horde_Core_ActiveSync_Driver::getMessage(@Calendar@, 
20150804134953.9GcTJim_OS8xxq1lBnf6mpF@mail.hypaerion.net)


Michael Rubinsky <mrubinsk@horde.org> 2016-03-04 16:01:44
You need to update Horde_ActiveSync. This was fixed a few weeks ago.

michael.klein@hypaerion.net 2016-03-04 17:15:33
> You need to update Horde_ActiveSync. This was fixed a few weeks ago.

Which version is needed? I am currently on  5.2.12 (horde)  2.31.5 
(Active Sync)

Thank you already for the help!!!

Michael

Michael Rubinsky <mrubinsk@horde.org> 2016-03-04 17:37:40
Sorry. This looks like a different issue. Looks like your all day 
events in kronolith do not have start/end times ending at 00:00:00 for 
some reason.

I'll get a fix for this this weekend.

michael.klein@hypaerion.net 2016-03-04 17:56:59
> Sorry. This looks like a different issue. Looks like your all day 
> events in kronolith do not have start/end times ending at 00:00:00 
> for some reason.
>
> I'll get a fix for this this weekend.

No Problem, i quickly removed the all day events from one of my 
accounts and it looks like you are right.Outlook does not crash 
anymore ;-)

I still have the allday events in the other accounts so no problem for 
testing after the weekend.

Again Thank you very much!

Git Commit <commits@lists.horde.org> 2016-03-07 14:43:54
Changes have been made in Git (master):

commit 3f9c6b2f29af22043a29a26309ef4c0687131772
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon Mar 7 09:42:43 2016 -0500

     Bug: 14278 Improve allday event handling.

  .../lib/Horde/ActiveSync/Message/Appointment.php   |   23 ++++++++++++-------
  1 files changed, 14 insertions(+), 9 deletions(-)

http://github.com/horde/horde/commit/3f9c6b2f29af22043a29a26309ef4c0687131772

michael.klein@hypaerion.net 2016-03-07 17:40:49
Thank you very much!!

By when do you expect the next release so i can update my main system?

> Changes have been made in Git (master):
>
> commit 3f9c6b2f29af22043a29a26309ef4c0687131772
> Author: Michael J Rubinsky <mrubinsk@horde.org>
> Date:   Mon Mar 7 09:42:43 2016 -0500
>
>     Bug: 14278 Improve allday event handling.
>
>  .../lib/Horde/ActiveSync/Message/Appointment.php   |   23 
> ++++++++++++-------
>  1 files changed, 14 insertions(+), 9 deletions(-)
>
> http://github.com/horde/horde/commit/3f9c6b2f29af22043a29a26309ef4c0687131772


Michael Rubinsky <mrubinsk@horde.org> 2016-03-11 21:55:38
I plan on pushing an update later today.