logo       

Re: Bug: extra gd:reminder elements at event creation: msg#00258

org.google.api.calendar

Subject: Re: Bug: extra gd:reminder elements at event creation

I filed a bug against the server.

Frank Mantek

On 9/28/06, Philipp Kewisch <kewisch@xxxxxxxxx> wrote:

Hello

I just created an event without a gd:reminder element with this query:
--------------------------------------------------------
<entry xmlns:gd="http://schemas.google.com/g/2005"
xmlns=" http://www.w3.org/2005/Atom">
  <category scheme="http://schemas.google.com/g/2005#kind"
term=" http://schemas.google.com/g/2005#event"/>
  <title type="text">basic item test</title>
  <content type="text">description</content>
  <author>
    <name>Philipp Kewisch</name>
    <email>kewisch@xxxxxxxxx</email>
  </author>
  <gd:transparency
value="http://schemas.google.com/g/2005#event.opaque "/>
  <gd:eventStatus
value="http://schemas.google.com/g/2005#event.confirmed"/>
  <gd:where valueString="location"/>
  <gd:when startTime="2006-09-11T18:00:00-04:00"
endTime="2006-09-11T20:00:00-04:00"/>
  <gd:visibility
value="http://schemas.google.com/g/2005#event.confidential "/>
</entry>
--------------------------------------------------------

Notice how the <gd:when> item does not have any reminders. Now I get a
response that contains the following <gd:when>:
--------------------------------------------------------
<gd:when startTime='2006-09-12T00:00:00.000+02:00'
endTime='2006-09-12T02:00:00.000+02:00'><gd:reminder
minutes='10'></gd:reminder></gd:when>
--------------------------------------------------------

I have set a default reminder of 10 minutes in the UI, so it is
comprehensable why the reminder shows up, but there should be a way to
create an event with the API without setting a reminder. I suggest
sending a <gd:when> that contains no <gd:reminder> should not create
one, even if the UI has a default reminder. You could still supply the
default reminder through the feed of available calendars or such.

Please sort this one out, parts of my code are depending on it.

Philipp



--~--~---------~--~----~------------~-------~--~----~
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 google-calendar-help-dataapi@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to google-calendar-help-dataapi-unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise