Summary | Shared calendar Android 6 - /POOMCAL:Exception |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | samuel.wolf (at) wolf-maschinenbau (dot) de |
Created | 02/14/2016 (3441 days ago) |
Due | |
Updated | 02/18/2016 (3437 days ago) |
Assigned | 02/18/2016 (3437 days ago) |
Resolved | 02/18/2016 (3437 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
:)
No worries, I'm pretty confident it's right now, so I'll just go ahead
and release the package so you can update easier.
I overwrite the wrong file.
[Thu Feb 18 23:21:46.998344 2016] [:error] [pid 26177] [client
xx.xx.xx.xx:56902] PHP Fatal error: Cannot redeclare class
Horde_ActiveSync_Message_Exception in
/usr/share/php/Horde/ActiveSync/Exception.php on line 0
wget
https://raw.githubusercontent.com/horde/horde/d067bef227edaeff223e5d89fc092f4829bc75e5/framework/ActiveSync/lib/Horde/ActiveSync/Message/Exception.php
b82c7eafebf9a972c9a161ff7f4aec50 Exception.php
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:Recurrence>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:Type>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 5
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:Type>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:Interval>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 1
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:Interval>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:DayOfMonth>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 8
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:DayOfMonth>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:MonthOfYear>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 6
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:MonthOfYear>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:CalendarType>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 1
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:CalendarType>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O <POOMCAL:FirstDayOfWeek>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O 1
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:FirstDayOfWeek>
2016-02-18T23:15:25+01:00 DEBUG: [26154] O </POOMCAL:Recurrence>
2016-02-18T22:16:26+00:00 INFO: [26370]
Horde_Core_ActiveSync_Driver::authenticate() attempt for samuel
2016-02-18T22:16:26+00:00 INFO: [26370] PING request received for user samuel
2016-02-18T22:16:26+00:00 INFO: [26370] Device entry exists for
ANDROID1436587622439, updating userAgent, version, and supported.
2016-02-18T22:16:26+00:00 INFO: [26370] Request being handled for
device: ANDROID1436587622439, Supporting protocol version: 14.1, Using
Horde_ActiveS
ync v2.31.3
2016-02-18T22:02:20+00:00 DEBUG: [25783] I <FolderHierarchy:FolderSync>
2016-02-18T22:02:20+00:00 DEBUG: [25783] I <FolderHierarchy:SyncKey>
2016-02-18T22:02:20+00:00 DEBUG: [25783] I
{56c636ad-a45c-4bab-8514-6272c0a8372d}3
2016-02-18T22:02:20+00:00 DEBUG: [25783] I </FolderHierarchy:SyncKey>
2016-02-18T22:02:20+00:00 INFO: [25783] Creating new
Horde_ActiveSync_SyncCache.
2016-02-18T22:02:20+00:00 INFO: [25783] Loading state for synckey
{56c636ad-a45c-4bab-8514-6272c0a8372d}3
2016-02-18T22:02:20+00:00 WARN: [25783] Could not find state for
synckey {56c636ad-a45c-4bab-8514-6272c0a8372d}3.
Reset the states, something I missing?
commit d067bef227edaeff223e5d89fc092f4829bc75e5
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Feb 18 16:52:51 2016 -0500
Better fix for
Bug: 14255Don't fail, but attempt to correct the values.
.../lib/Horde/ActiveSync/Message/Exception.php | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
http://github.com/horde/horde/commit/d067bef227edaeff223e5d89fc092f4829bc75e5
fix this for you.
2016-02-18T22:21:08+01:00 DEBUG: [24577] O 1
2016-02-18T22:21:08+01:00 DEBUG: [24577] O </POOMCAL:FirstDayOfWeek>
2016-02-18T22:21:08+01:00 DEBUG: [24577] O </POOMCAL:Recurrence>
2016-02-18T22:21:08+01:00 ERR: [24577] Unknown backend error skipping
message: Pre-encoding validation failded for
Horde_ActiveSync_Message_Exception item
2016-02-18T22:21:08+01:00 INFO: [24577] Updating state during change
2016-02-18T22:21:08+01:00 INFO: [24577] Peak memory usage after
message: 6815744
Caching issue?
fix this for you.
commit 4406462d3e47e0462c31555c4f67cc2cd36c3530
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Thu Feb 18 15:54:31 2016 -0500
Bug: 14255Exceptions may not have a starttime set..../lib/Horde/ActiveSync/Message/Exception.php | 52
++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/4406462d3e47e0462c31555c4f67cc2cd36c3530
Think I see the issue now.
New Attachment: Horde_Debug_Log.txt
calendar.
But if I open the event and save it in my local calendar the device
sync it and stop again on the next event of the shared calendar.
There is also another error in the log, see attachment.
Not sure what else to do at this point. Maybe a wiretrace will show
something, but otherwise out of ideas.
Does removing the event and recreating it do anything useful?
State ⇒ Assigned
Ah, ok. You are still seeing the the calendar issue. You are correct,
my patch was only for the mail issue.
hopefully it will prevent whatever happened from happening again.
Still have the problem with the calendar (but don't try your commit
since I think this is only for the mail issue).
State ⇒ Resolved
The changes I made will be in the next package update anyway, so
hopefully it will prevent whatever happened from happening again.
otherwords, it's telling the server to modify the email with UID
9655, but is not telling the server *what* to modify.
No idea whats going wrong two days before.
request for you?
commit f201f65d59e3dc05d5ca0f312042a9f1ebaf41a0
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date: Wed Feb 17 12:28:50 2016 -0500
Bug: 14255Work around broken clients that send empty <Data> tags..../lib/Horde/ActiveSync/Request/Sync.php | 79
+++++++++++---------
1 files changed, 43 insertions(+), 36 deletions(-)
http://github.com/horde/horde/commit/f201f65d59e3dc05d5ca0f312042a9f1ebaf41a0
2016-02-15T21:43:34+00:00 DEBUG: [27458] I <Modify>
2016-02-15T21:43:34+00:00 DEBUG: [27458] I <ServerEntryId>
2016-02-15T21:43:34+00:00 DEBUG: [27458] I 9655
2016-02-15T21:43:34+00:00 DEBUG: [27458] I </ServerEntryId>
2016-02-15T21:43:34+00:00 DEBUG: [27458] I <Data />
2016-02-15T21:43:34+00:00 DEBUG: [27458] I </Modify>
Is badly broken. The client is sending an empty <Data> field. In
otherwords, it's telling the server to modify the email with UID 9655,
but is not telling the server *what* to modify.
a similar recurring event on your personal calendar?
I create a event* with repeat 4 following days in the own calendar, no
problems.
* was not a similar since the original event repeat all 2 weeks.
Off-topic: Can not delete repeat event with kronolith gui, but on the
smartphone calendar.
to an event or was the instance removed?
As soon I disable the shared calander and reset/delete the ActiveSync
state the device works.
Android 6.0 Moto G 3rd Gen.
the calendar at all. Going to have to give up on this for now, until
I can get my hands on a physical Android 6 device.
able to trace the code while it's syncing to see what is causing this.
I'm pretty sure 6.0.0 is badly broken with respect to EAS but the
6.0.1 update isn't available for the emulator yet.
That being said, I'm having a hard time figuring out how the Android
version would cause the data being sent FROM the server to be corrupt.
Maybe a few questions:
You said it was a shared calendar. Does the same thing happen with a
similar recurring event on your personal calendar? Does the event
actually have any exceptions? If so, are they changes to an event or
was the instance removed? Were the exceptions created by the calendar
owner, or another user?
the calendar at all. Going to have to give up on this for now, until
I can get my hands on a physical Android 6 device.
the calendar at all. Going to have to give up on this for now, until I
can get my hands on a physical Android 6 device.
Assigned to Michael Rubinsky
State ⇒ Assigned
The only 6.0 client I have is the SDK emulator, which is having a hard
time connecting to my VMs, but I'll keep trying.
package (2.31.2)?
root@wds:~# pear list -c horde | grep kro
kronolith 4.2.14 stable
root@wds:~# pear list -c horde | grep Active
Horde_ActiveSync 2.31.2 stable
root@wds:~#
Try Horde_ActiveSync 2.31.1, same problem. In my eyes this problem
start with the upgrade from Android 5.1.1 to 6.0.
State ⇒ Feedback
(2.31.2)?
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ Shared calendar Android 6 - /POOMCAL:Exception
Type ⇒ Bug
Queue ⇒ Synchronization
sync endless.
2016-02-14T19:26:36+01:00 INFO: [10012] Updating state during change
2016-02-14T19:26:36+01:00 INFO: [10012] Peak memory usage after
message: 6815744
2016-02-14T19:26:36+01:00 DEBUG: [10012] O </POOMCAL:Exception>
"Support separate calendars?" is enable.