Closed GoogleCodeExporter closed 8 years ago
Having the same problem with my query from c#.
I still receive the exception-events from the recurring-event, even if I delete
the whole recurring event.
Original comment by ba.m.al...@googlemail.com
on 19 Jan 2011 at 2:52
I can't reproduce this issue.
I followed the steps to create a recurring event, modify one instance, delete
another and then all instances (including the modified and the deleted).
The following code returns no instances of the recurring event:
------------
CalendarService service = new CalendarService("exampleCo-exampleApp-1");
service.setUserCredentials("username", "password");
EventQuery query = new EventQuery();
query.Uri = new
Uri("https://www.google.com/calendar/feeds/default/private/full");
EventFeed calFeed = service.Query(query);
------------
Can you still reproduce it?
Can you share the code you are using?
Original comment by ccherub...@google.com
on 9 Mar 2011 at 4:24
Hello.
I do receive this exception-events only if I delete the recurring event using
the delete-command from c#.
---
myRecurringEvent.Delete();
---
If I delete the recurring event from the browser, I do not receive any
exceptions in further feeds.
Original comment by ba.m.al...@googlemail.com
on 10 Mar 2011 at 11:15
Can you share the code that creates the recurring event, performs the edits and
then deletes it so that no manual interaction with the Calendar UI is required
to reproduce the issue?
Original comment by ccherub...@google.com
on 10 Mar 2011 at 11:27
Hello.
I create an exception this way:
---
EventEntry newEntry = new EventEntry(subj, desc, loc);
newEntry.OriginalEvent = new OriginalEvent();
newEntry.OriginalEvent.IdOriginal = idOriginal;
newEntry.OriginalEvent.OriginalStartTime = new When(dtstart, dtend);
newEntry.Status = new EventEntry.EventStatus();
newEntry.Status.Value = EventEntry.EventStatus.CANCELED.Value;
Uri postUri = new Uri("https://www.google.com/calendar/feeds/" +
googleCalendarFolder + "/private/full");
AtomEntry insertedEntry = myService.Insert(postUri, newEntry);
---
I hope I got anything important. After running this code, I can see an
exception in my browser.
To delete the exception I simply call delete:
---
CalendarService myService = new CalendarService("GSyncService");
myService.setUserCredentials(googleUsername, googlePassword);
EventQuery query = new EventQuery();
query.Uri = new Uri("https://www.google.com/calendar/feeds/" +
googleCalendarFolder + "/private/full");
EventFeed calFeed = myService.Query(query);
foreach (EventEntry entry in calFeed.Entries)
{
entry.Delete();
}
---
I always receive an error in this code. It is not possible to delete this event.
Original comment by Pater...@googlemail.com
on 21 Mar 2011 at 5:26
Hello,
Unfortunately, it is not possible to un-specialized a recurrence exception
through the API. The only way to make something similar would be to make the
exception match the main recurring event.
If the exception was to cancel a particular instance of a recurring event, the
solution would be to set this instance eventStatus back to "confirmed" instead
of "canceled".
I hope this helped!
Best,
Alain
Original comment by ala...@google.com
on 31 Mar 2011 at 10:55
Original comment by ccherub...@google.com
on 1 Apr 2011 at 9:29
Issue 626 has been merged into this issue.
Original comment by ccherub...@google.com
on 21 Sep 2012 at 9:29
Original issue reported on code.google.com by
vjay.n...@gmail.com
on 6 Jan 2011 at 4:55