Summary | Synchronization problem with Kronolith |
Queue | Kronolith |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | mrubinsk (at) horde (dot) org |
Requester | rbe (at) tritem (dot) net |
Created | 01/23/2014 (4194 days ago) |
Due | |
Updated | 01/28/2014 (4189 days ago) |
Assigned | 01/24/2014 (4193 days ago) |
Resolved | 01/27/2014 (4190 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Thanks very much
Kind.
Richard
commit fdfdf4ed18b07155cf0a91311b0c041b9cd8de9d
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Tue Jan 28 10:54:46 2014 -0500
Another fix for
Bug: 12934.Wonderful. Outlook sends the collection id as the *calendar* id, not
the email folder's id when sending meeting responses regardless of
which interface the response is sent from, email or calendar. Thank
goodness that it at least keeps the original message UID so we can
still find it in the INBOX.
So, we now have to always retry with the INBOX collection if fetching
the response fails. If the user moves the invitation out of the INBOX
before responding to it, we don't really have any chance of finding it
so must give up.
.../Horde/ActiveSync/Request/MeetingResponse.php | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/fdfdf4ed18b07155cf0a91311b0c041b9cd8de9d
New Attachment: trace_synclog3.txt
sent to the client, one of which looks like a meeting request.
Nothing else. It doesn't show the meeting request being read, it
doesn't show an iTip email being sent, and it certainly doesn't show
a MEETING_RESPONSE command being sent from OL to the server. If OL
doesn't send the appropriate commands when "accept" is chosen on the
client there is nothing we can do about it.
I made a mistake with the log file (took my phone device log file and
not OL2013 log file !!)
Here is the good log file and there is a new ERR (Horde_ActiveSync v2.12.1)
Kind regards
Richard
sent to the client, one of which looks like a meeting request. Nothing
else. It doesn't show the meeting request being read, it doesn't show
an iTip email being sent, and it certainly doesn't show a
MEETING_RESPONSE command being sent from OL to the server. If OL
doesn't send the appropriate commands when "accept" is chosen on the
client there is nothing we can do about it.
New Attachment: trace_synclog2.txt
Thanks for this new version.
I tried the update but unfortunately, it still doesn't work for me.
You will find the sync log attached.
I can't find any error "Unmatched end tag" like before, but the
accepted meeting under OL2013 doesn't appear in my kronolith agenda.
May you have a look ?
If you need any other information, tell me.
Thanks
Richard
State ⇒ Resolved
commit ff812e6838abd3d55bec040904558c7a168d89d7
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Mon Jan 27 09:46:50 2014 -0500
Bug: 12934Don't assume these are in the correct order..../Horde/ActiveSync/Request/MeetingResponse.php | 48
+++++++++++---------
1 files changed, 27 insertions(+), 21 deletions(-)
http://git.horde.org/horde-git/-/commit/ff812e6838abd3d55bec040904558c7a168d89d7
Thanks for this clear and fast analysis.
If you can find a workaroud for this problem, it will be great because
i had already missed some meetings because they weren't not
synchronized to my phone.
I'm now used to accept the meetings from horde but it's not the
simpliest way (i also use a tablet, so 3 devices !!) and i often
triple check the 3 calendars ...
I totally agree with you about the non respect of Microsoft own
specifications and the frustration which comes with. Unfortunately,
it's not the first time and i guess it won't neither be the last ...
Thanks again for your great work and support on Horde.
It really rocks.
Kind regards
Richard
State ⇒ Assigned
2014-01-24T11:12:17+01:00 DEBUG: [23761] I <MeetingResponse:MeetingResponse>
2014-01-24T11:12:17+01:00 DEBUG: [23761] I <MeetingResponse:Request>
2014-01-24T11:12:17+01:00 DEBUG: [23761] I <MeetingResponse:FolderId>
2014-01-24T11:12:17+01:00 DEBUG: [23761] I @Calendar@
2014-01-24T11:12:17+01:00 DEBUG: [23761] I </MeetingResponse:FolderId>
2014-01-24T11:12:17+01:00 DEBUG: [23761] I <MeetingResponse:UserResponse>
2014-01-24T11:12:17+01:00 ERR: [23761] Unmatched end tag:
2014-01-24T11:12:17+01:00 ERR: Array
(
[1] => 1
[2] => MeetingResponse:UserResponse
[4] => 1
)
2014-01-24T11:12:17+01:00 ERR: Protocol Error
According to the MS-ASCMD: 6.21 MeetingResponse Request Schema, the
UserResponse element comes before the FolderId element in a
<xs:sequence> block. Since it is arriving in an unexpected order, the
parsing fails. I can work around it in code since there is really no
technical requirement to have the response value before parsing the
folderid, other than the specs stating it must be in that sequence.
It's bad enough that different clients implement things so
differently, but when different versions of the same client do this it
is VERY frustrating.
New Attachment: trace_synclog.txt
First of all, many thanks for helping me.
Answers in the text.
I meant since we have started to use Horde, a year ago (so it was horde 5 !!)
As for information, we are french so we are using french version of
OL2013 and accentuated characters.
1) Log in on horde with user tritem.test
2) Under kronolith, new meeting inviting richard.beltrame@tritem.net
3) Under OL2013, receiving the invitation and accepting
Result : the meeting is visible in OL2013 but not synchronized on
horde kronolith.
Assigned to Michael Rubinsky
Since the beginning, we have a weird behaviour when accepting
meetings in Outlook 2013 or Windows Phone calendar application
(WP8.0) using EAS with horde server (latest stable version of all
modules).
was added fairly recently.
Anyway,I remember there being a known feature/bug in OL2013 where
accepting meeting requests puts the resulting calendar entry in the
*local* calendar and not the ActiveSync calendar so it is never
synchronized. I haven't checked for any updates on this lately, but a
google search should shed light on this.
- If i accept the invitation from my phone, the meeting is only
visible in the WP calendar and is not synchronized with Kronolith.
So, the meeting isn't also visible in the OL2013 calendar.
- If i accept the invitation from OL2013, the meeting is only
visible in the OL2013 calendar and is not synchronized with
Kronolith. So, the meeting isn't also available in the WP calendar.
correct MEETING_RESPONSE command to the server which triggers the
creation of the new event. Additionally, the device asks to send the
response to the ORGANIZER and if selected, sends an appropriate iTip.
The only issue was Horde was also generating an iTip response so the
ORGANIZER may have received multiple response emails but that should
have no affect on the creation of the calendar entry.
Jan 23 22:45:32 server1 HORDE: [horde] Returning HTTP 500 while
handling MeetingResponse command. [pid 31372 on line 156 of
"/usr/share/horde/rpc.php"]
Jan 23 22:45:32 server1 HORDE: [horde] Error in communicating with
ActiveSync server: Protocol Error [pid 31372 on line 162 of
"/usr/share/pear/Horde/Rpc/ActiveSync.php"]
the client is sending up to the server, or we are not properly parsing
some data correctly. I would need to see the synclog to see what is
going on.
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Synchronization problem with Kronolith
Type ⇒ Bug
Queue ⇒ Kronolith
Since the beginning, we have a weird behaviour when accepting meetings
in Outlook 2013 or Windows Phone calendar application (WP8.0) using
EAS with horde server (latest stable version of all modules).
When receiving an invitation from anybody :
- If i accept the invitation from my phone, the meeting is only
visible in the WP calendar and is not synchronized with Kronolith. So,
the meeting isn't also visible in the OL2013 calendar.
- If i accept the invitation from OL2013, the meeting is only visible
in the OL2013 calendar and is not synchronized with Kronolith. So, the
meeting isn't also available in the WP calendar.
- If i accept the invitation from the horde imp application, the
meeting is visible on all the devices. The horde to multiple devices
synchronization is working well.
When creating a new meeting :
- From OL2013, WP or Kronolith, the meeting is correctly synchronized
on all the devices.
Here is the log when accepting a meeting in OL2013 :
Jan 23 22:45:32 server1 HORDE: [horde] Returning HTTP 500 while
handling MeetingResponse command. [pid 31372 on line 156 of
"/usr/share/horde/rpc.php"]
Jan 23 22:45:32 server1 HORDE: [horde] Error in communicating with
ActiveSync server: Protocol Error [pid 31372 on line 162 of
"/usr/share/pear/Horde/Rpc/ActiveSync.php"]
Jan 23 22:45:32 server1 HORDE: [horde] #0
/usr/share/pear/Horde/ActiveSync/Request/Base.php(249):
Horde_ActiveSync_Request_MeetingResponse->_handle()#012#1
/usr/share/pear/Horde/ActiveSync.php(898):
Horde_ActiveSync_Request_Base->handle()#012#2
/usr/share/pear/Horde/Rpc/ActiveSync.php(143):
Horde_ActiveSync->handleRequest('MeetingResponse',
'1CCF41137AF3454...')#012#3 /usr/share/horde/rpc.php(156):
Horde_Rpc_ActiveSync->getResponse(NULL)#012#4 {main} [pid 31372 on
line 162 of "/usr/share/pear/Horde/Rpc/ActiveSync.php"]
Jan 23 22:45:32 server1 HORDE: [horde] Buffer contents: [pid 31372 on
line 162 of "/usr/share/pear/Horde/Rpc/ActiveSync.php"]
I don't know if this is a known behaviour or a bug. Maybe, we have a
configuration problem but i need help to debug.
Thanks in advance
Kind Regards
Richard