Summary | [ActiveSync] Error when syncing recurring events |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | joniw (at) t-online (dot) de |
Created | 08/08/2011 (5092 days ago) |
Due | |
Updated | 08/12/2011 (5088 days ago) |
Assigned | 08/12/2011 (5088 days ago) |
Resolved | 08/12/2011 (5088 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
doesn't support 2.5.
that Exchange 2003 Sp2 is supported. I will reset my phone and see if
that fixes my problems. If i find any solution i will just post it.
client is broken. These properties make no sense with this recurrence
type. For the recurrence_month_day type, they are already sent.
that this fields are not supported on older revisions of active sync
like for CalendarType.
it's there.
I don't have a
be a buggy implementation of the sync for the DesireHD
doesn't support 2.5.
reference does not exactly define the week of the month. You can on
the one hand say the first week are the first seven days. You can
also define the first week as the first monday to sunday. So if the
month starts on a friday only the first three days are the first
week. Just a matter of definition. It seems to work so it does not
need to be changed.
Nothing else would make sense since the recurrence types that use this
recur on e.g., the first tuesady of the month. Any other definition
would potentially miss days in the first week.
sync it. The only problem for me is that you can create an event on
the web client that will never show up on the sync clients. Is there
an easy way to remove this type of event or to prevent the users to
create such an event?
issue, but don't think we shuld limit our feature set based on a
limited sync protocol.
recurring events I have tested are working fine for me.
and it works out of the box. In the ActiveSync properties of the
device i have the following Entry:
Programm:Android-EAS/3.10.000.037285.405.
When i apply the patch to send the dayofmonth and monthofyear for the
monthly and yearly events, they occur in the calendar. It seems that
the sync on the DesireHD just throws the events away when these
properties are not set.
The notes/changes section of the reference also does not mention that
this fields are not supported on older revisions of active sync like
for CalendarType. So i think they should be sent. I don't have a proof
for it but that it works for me when they are sent. Can also be a
buggy implementation of the sync for the DesireHD
which i linked in my first post does not state whether a week starts
been using this calculation in our recurrence code for ages.
does not exactly define the week of the month. You can on the one hand
say the first week are the first seven days. You can also define the
first week as the first monday to sunday. So if the month starts on a
friday only the first three days are the first week. Just a matter of
definition. It seems to work so it does not need to be changed.
sync it. The only problem for me is that you can create an event on
the web client that will never show up on the sync clients. Is there
an easy way to remove this type of event or to prevent the users to
create such an event?
recurring events I have tested are working fine for me.
reference which i linked in my first post does not state whether a
week starts
using this calculation in our recurrence code for ages.
same day of the year (Type 6 in Recurrence.php), no recurrenc type
real exchange 2003 server and outlook I cannot create this type of
recurrence series. If you have a working patch that this works for,
along with a test event to prove it, I can look into adding.
to send it to the device.
get the command reference for active sync 2.5? This version is not
really mentioned in the reference, only the newer ones.
footnotes/changes section. There are also some postings linked to in
the wiki that give some overviews of the different versions, but not
that detailed. Also, when in doubt, I just sniff the traffic of a real
exchange 2003 server.
New Attachment: RecurrenceFix.patch
Sorry that the patch was not attached, was really late today in the
morning here. I adapted the patch to your changes.
I am not really sure about the weekofmonth calculation. The reference
which i linked in my first post does not state whether a week starts
alwas on a given day or if we can only divide by 7. That is the reason
why i used the posted function to calculate it.
I found also another Bug. If you set the recurrence to yearly and to
same day of the year (Type 6 in Recurrence.php), no recurrenc type ist
sent. I think we can use the active sync type 5 (TYPE_YEARLY) to send
it to the device.
By the way: do you hav another source than the one posted by me to get
the command reference for active sync 2.5? This version is not really
mentioned in the reference, only the newer ones.
with regards
Jonathan Westerholt
State ⇒ Feedback
Bug: 10416Fix TYPE_MONTHLY_NTH and TYPE_YEARLYNTH recurrence.1 files changed, 15 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/72ade88f7979b447c16615e206245a2cefcc532f
State ⇒ Assigned
week/weekday of each month is not working correctly.
Still seeing no issues with daily or weekly. Still trying different
recurrence types for yearly, but yearly on same date of month is
working fine.
The patch is attached.
yearly and daily events with the git version.
The patch is attached.
yearly and daily events with the git version.
I added the missing properties to
framework/ActiveSync/lib/Horde/ActiveSync/Message/Appointment.php. The
patch is attached.
This is only a quick and dirty! patch to make it work with the android
sync. It should seriously be reviewed!! I had no good idea how to
extract the day an mont number from the starttime so i just exploded
the string.
The function to calculate the week of month is taken from here:
http://i-code-today.blogspot.com/2009/03/calculating-week-of-month-from-given.html
With this patch i can successfully sync the yearly and monthly events
but i did again not test every possible option.
State ⇒ Resolved
Now that we properly return the 0 from the message object, this is not
considered an empty tag. Related to
Bug: 104161 files changed, 0 insertions(+), 14 deletions(-)
http://git.horde.org/horde-git/-/commit/274306d56ff7fd83523d496bbffd18a31f7e1a6b
Allow for actual 0 values. Further improvements for
Bug: 104161 files changed, 2 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/4168c85a976dea6b6326201544ebac8b05d2923f
This tag might have a valid, empty, value that is required to be sent.
Bug: 104161 files changed, 14 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/913694c11fbc1b39736e5552e00fda69491b627e
Assigned to Michael Rubinsky
State ⇒ Assigned
Server 2010), we currently only support EAS Version 2.5 (Exchange
2003sp2). You can verify this yourself by looking at the footnotes in
the document you linked to.
I will look into the other reports, though on initial inspection I
can't reproduce all of them.
New Attachment: Horde-ActiveSync-Yearly-Weekday.log
New Attachment: Horde-ActiveSync-Monthly.log
New Attachment: Horde-ActiveSync-Daily.log
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Summary ⇒ [ActiveSync] Error when syncing recurring events
Type ⇒ Bug
Queue ⇒ Synchronization
(Desire HD) 2.3.3 i see the following problems:
Daily events: They show up only for the first defined date there seems
to be an error with creating the recurrence type (is not set, see log
attached)
Weekly events: Seem to work, but did not test all possible options.
Monthly events: Don't show up at all in the Calendar, DayOfMonth and
CalendarType are not set (see log), did not test all possible options.
Yearly events: Also do not show up. MonthOfYear,DayOfMonth and
CalendarType are missing (see log), did not test all possible options.
The properties which are stated as missing above are mandatory as
shown in
http://msdn.microsoft.com/en-us/library/dd299440(v=exchg.80).aspx ,
Page 22 onwards.