ericzile / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

All events get a gd:reminder element, no matter which value is specified #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Type: Defect
Client: none

What steps will reproduce the problem?
1. Create/Edit an event without a reminder -or-
2. Create/Edit an event with a reminder of 20 minutes

What is the expected output? What do you see instead?
* The reminder time is expected to be valued.
* The reminder is ALWAYS set to 10 minutes, regardless of its value

Please provide any additional information below.

This event entry is sent:
 --------------------------------------------------------
<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>kewi...@gmail.com</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. 

Original issue reported on code.google.com by kewi...@gmail.com on 15 Oct 2006 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by fman...@gmail.com on 11 Jun 2007 at 2:34

GoogleCodeExporter commented 9 years ago
This has been moved to the gdata-issues project:

http://code.google.com/p/gdata-issues/issues/detail?id=14

Original comment by api.jfis...@gmail.com on 3 Aug 2007 at 7:49