I get a reproducable error when updating an event with guests.
Steps to reproduce:
1. Manually add an aevent to the calendar through the normal web
interface (with begin and end times)
2. Programmatically update the item. The update is successful for N
number of times.
3. Manually add a guest throught the web interface.
4 Programmatically update event - receive 404
Code:
Built and executed on framework runtime version 1.1.4322.573 only/win2k
pro:
Dim ggQry As Google.GData.Client.FeedQuery
Dim ggA As Google.GData.Extensions.EventFeed
ggSvc = New
Google.GData.Calendar.CalendarService("RocketWare-RSGGQryTool-0.10")
ggQry = New Google.GData.Client.FeedQuery
ggSvc.Credentials = New Net.NetworkCredential("myemail", "mypwd")
ggQry.Uri = New
Uri("http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/private/full")
ggQry.ExtraParameters = "start-min=" +
Date.Parse(Now.ToShortDateString).ToString("s") + "&" + "start-max=" +
Date.Parse(Now.ToShortDateString).AddDays(1).ToString("s")
ggA = ggSvc.Query(ggQry)
For Each ggE As Google.GData.Extensions.EventEntry In ggA.Entries
If Not ggE.EditUri Is Nothing Then
If ggE.Status.Value <>
Google.GData.Extensions.EventEntry.EventStatus.CANCELED_VALUE Then
doStatus("Found Updateable Google Item: " +
ggE.Title.Text + " : " + ggE.EditUri.Content, LogType.Verbose)
ggE.Title.Text = "Up " +
Now.TimeOfDay.TotalSeconds.ToString
ggSvc.Update(ggE)
doStatus("Item updated ", LogType.Verbose)
End If
Else
doStatus("Found Readonly Google Item: " + ggE.Title.Text + "
: " + ggE.SelfUri.Content, LogType.Verbose)
End If
Next
- - - - - -
Even after removing the guests, the error will occur.
Other manual updating , such as dates or descriptions do not seem to
cause a problem.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---