Conflict updating Event occurrence using WebDAV



I am getting a 409 Conflict error when trying to update one occurrence of a
recurring calendar event.This happens after I've done a proppatch on the main
event.

Steps to reproduce:
1) Create recurring event in calendar using Outlook 2003 (also tried with OL
2002 with same results. Does not happen if using OWA).
Start: 4/6/2005 8:00-8:30 am
recurring weekly for a count of 4
2) Change 4/13 occurrence in Outlook to 9:00-9:30
3) Do PROPPATCH on main event, including rrule even though it hasn't changed.
4) Do SEARCHes so occurrences are expanded
5) SEARCH on event uid and recurrence-id to get the 4/13 occurrence URI.
6) PROPPATCH on 4/13 occurrence URI, get 409 Conflict error.

When updating in step 2, the recurrence info (named property
{00062002-0000-0000-C000-000000000046}:0x8216) is updated with exception data
and an attachment is added for the exception. Doing a WebDAV search gives me
an object for this exception with an instancetype of 3 for the 4/13
occurrence.

When the PROPPATCH is done in step 3, the attachment representing the
exception is still there but the named property with the recurrence info
doesn't indicate that there is an exception. Doing a WebDAV search still
gives me an exception object with an instancetype of 3 for the 4/13
occurrence.

I would expect the PROPPATCH in step 3 to preserve the exception data OR
since the rrule has changed, I would expect the PROPPATCH in step 3 to remove
the exception data so that the SEARCH would not return an exception and no
conflict would occurr.

I am able to PROPPATCH the exception if I don't PROPPATCH the main event but
my code really doesn't know what has or has not changed so it updates
everything. If the occurrence is not changed using Outlook, I can PROPPATCH
the main event and update an occurrence over and over again. Once I update
the occurrence using Outlook, I am unable to update the exception any longer.

Any suggestions on how to get around this problem, changing the order of my
updates, etc?
.



Relevant Pages

  • Re: VSTO - Outlook error in recurrent appointments
    ... If it's not then you just created a recurring item by referencing the RecurrencePattern. ... // THIS LINE WILL THROW THE EXCEPTION: ... // appointments and try again, ... Outlook.AppointmentItem vRecurrencedAppointment = ...
    (microsoft.public.vsnet.vstools.office)
  • Re: [WebDav] Delete attachment
    ... I used simulating an OWA action to remove a attachment and it works great. ... But this is the post you have to do on exchange 2000: ... > his items with a PUT command, and I created mine with a PROPPATCH. ... > not reproduce his conflict error, unless I also used the PUT method. ...
    (microsoft.public.exchange.development)
  • Sync Issues & Modification Resolution
    ... I have a recurring appointment that I set up long ago for 10pm every night ... thus making it an exception on the recurrence, ... So these appointments that I've been making changes to all along, ... and I kind-of don't want to risk setting my synch settings on my ...
    (microsoft.public.outlook.calendaring)
  • Re: Nine day week - Project 2007
    ... MS Project Trainer & Consultant ... works for single non-working days and Project will not accept two ... non-working Exception days, each recurring at 8 day intervals. ...
    (microsoft.public.project)
  • Re: Outlook Appointment VBA Issues
    ... If it's not an exception you can get it using GetOccurrence(), that will fail if it's an exception. ... named a recurring item, I can remove the ID and save it, but since I'm ... all of the occurrences because I will no longer know that this item is ...
    (microsoft.public.office.developer.outlook.vba)