Ticket #278 (task)

Opened 5 years ago

Last modified 3 years ago

Test for override behavior

Status: new

Reported by: douglm Assigned to: douglm
Priority: major Milestone: Bedework 4.0
Component: caldav Version:
Keywords: Cc:

From the caldav mailing list. This behavior needs testing in bedework

> If I have not misunderstood the above paragraph, it means that if the
> time interval overlaps the original start and end times of an overridden
> instance, that instance should be returned in the response. Am I right?
> If so, what’s the rationale behind this? If that instance has been
> rescheduled, its old time slot should be now empty and therefore I should
> receive an empty response. Why not?

The description in the spec is correct. Here is an example that shows why:

Let's say you have a weekly recurring meeting every Monday.

One instance is shifted to a Tuesday

Now you do a time-range query for 8 days starting on a Monday and extending to the week of the overridden instance.

The server is required to return the master component (the one with the RRULE) to cover the first Monday in the time-range.

However, if that is all it did, then the client would see the weekly RRULE and assume that there is an instance on the second Monday, which would be wrong.

Instead the server has to return the overridden instance as well and that correctly shows the client that there is no second Monday instance.

Change History

07/17/08 10:19:13: Modified by douglm

  • description changed.

07/17/08 10:19:45: Modified by douglm

  • description changed.

11/18/08 15:12:50: Modified by johnsa

  • summary changed from Test fro override behavior to Test for override behavior.

06/10/09 00:19:55: Modified by douglm

  • milestone changed from Bedework 3.5 to Bedework 3.6.

12/07/09 14:26:32: Modified by johnsa

  • milestone changed from Bedework 3.6 to Bedework 3.7.

07/09/10 00:03:06: Modified by douglm

  • milestone changed from Bedework 3.7 to Bedework 4.0.