[Tickets #10416] Re: [ActiveSync] Error when syncing recurring events

bugs at horde.org bugs at horde.org
Fri Aug 12 14:21:14 UTC 2011


Ticket-URL: http://bugs.horde.org/ticket/10416
  Ticket           | 10416
  Aktualisiert Von | joniw at t-online.de
  Zusammenfassung  | [ActiveSync] Error when syncing recurring events
  Warteschlange    | Synchronization
  Version          | Git master
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       | Michael Rubinsky

joniw at t-online.de (2011-08-12 14:21) hat geschrieben:

> Can you provide an example event that this fails for? All monthly  
> recurring events I have tested are working fine for me.

I have only problems with them on my DesireHD. I tested with an iphone  
and it works out of the box. In the ActiveSync properties of the  
device i have the following Entry:  

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

>> 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
> Can you provide an example where this calculation fails? We have  
> been using this calculation in our recurrence code for ages.

I do not know a case where it fails. My problem is that the 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.

>> 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
> This type of recurrence is not supported AFAIK by AS 2.5.  Using a  
> 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.
>> ist sent. I think we can  use the active sync type 5 (TYPE_YEARLY) to
>> send it to the device.
> AFAIK, this type is for the same _date_, not the dayofyear.

If we can not create such an event on outlook then we do not need to  
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?

More information about the bugs mailing list