Hi,

I've noticed that if I do following actions on Google Calendar web UI:

1. Create recurring event.
2. Delete one instance

Then, the response from Calendar data API is in wrong order. First
there is this canceled event and after that the actual event. This is
when using updated-min parameter. Also it seems that parameters
sortorder and orderby do not work at all when using with updated-min
parameter. It would make sense first return the actual event and then
modifications for that event.

Response as XML (using sortorder=d just for testing, 'a' does not make
a difference)

<feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://
a9.com/-/spec/opensearch/1.1/' xmlns:gml='http://www.opengis.net/gml'
xmlns:georss='http://www.georss.org/georss' xmlns:batch='http://
schemas.google.com/gdata/batch' xmlns:gCal='http://schemas.google.com/
gCal/2005' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/
&quot;CU4GRn47eCp7I2A9WxVaFE4.&quot;'>
        <id>http://www.google.com/calendar/feeds/default/private/full</id>
        <updated>2009-04-11T07:12:07.000Z</updated>
        <category scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/g/2005#event'/>
        <title>[email protected]</title>
        <subtitle>[email protected]</subtitle>
        <link rel='alternate' type='text/html' href='http://www.google.com/
calendar/[email protected]'/>
        <link rel='http://schemas.google.com/g/2005#feed' type='application/
atom+xml' href='http://www.google.com/calendar/feeds/default/private/
full'/>
        <link rel='http://schemas.google.com/g/2005#post' type='application/
atom+xml' href='http://www.google.com/calendar/feeds/default/private/
full'/>
        <link rel='http://schemas.google.com/g/2005#batch' type='application/
atom+xml' href='http://www.google.com/calendar/feeds/default/private/
full/batch'/>
        <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full?updated-min=2009-04-11&amp;max-results=25&amp;sortorder=d&amp;orderby=lastmodified'/>
        <author>
                <name>Arizona Joe</name>
                <email>[email protected]</email>
        </author>
        <generator version='1.0' uri='http://www.google.com/calendar'>Google
Calendar</generator>
        <openSearch:totalResults>6</openSearch:totalResults>
        <openSearch:startIndex>1</openSearch:startIndex>
        <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
        <gCal:timezone value='Europe/Helsinki'/>
        <gCal:timesCleaned value='7'/>
        <entry gd:etag='&quot;FUwLQAVDeSp7I2A6WhVU&quot;'>
                <id>http://www.google.com/calendar/feeds/default/events/
3jsf5j39sa2totvu7tj07udod4_20090418T083000Z</id>
                <published>2009-04-11T07:11:42.000Z</published>
                <updated>2009-04-11T07:12:07.000Z</updated>
                <app:edited xmlns:app='http://www.w3.org/2007/
app'>2009-04-11T07:12:07.000Z</app:edited>
                <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'/>
                <title>recurring event test</title>
                <content></content>
                <link rel='alternate' type='text/html' 
href='http://www.google.com/
calendar/event?
eid=M2pzZjVqMzlzYTJ0b3R2dTd0ajA3dWRvZDRfMjAwOTA0MThUMDgzMDAwWiB0ZXN0aWpvcm1hMkBt'
title='alternate'/>
                <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full/3jsf5j39sa2totvu7tj07udod4_20090418T083000Z'/>
                <link rel='edit' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full/3jsf5j39sa2totvu7tj07udod4_20090418T083000Z'/>
                <author>
                        <name>Arizona Joe</name>
                        <email>[email protected]</email>
                </author>
                <gd:originalEvent id='3jsf5j39sa2totvu7tj07udod4' href='http://
www.google.com/calendar/feeds/default/private/full/3jsf5j39sa2totvu7tj07udod4'>
                        <gd:when startTime='2009-04-18T11:30:00.000+03:00'/>
                </gd:originalEvent>
                <gCal:guestsCanModify value='false'/>
                <gCal:guestsCanInviteOthers value='true'/>
                <gCal:guestsCanSeeGuests value='true'/>
                <gCal:anyoneCanAddSelf value='false'/>
                <gd:comments>
                        <gd:feedLink 
href='http://www.google.com/calendar/feeds/default/
private/full/3jsf5j39sa2totvu7tj07udod4_20090418T083000Z/comments'/>
                </gd:comments>
                <gd:eventStatus value='http://schemas.google.com/g/
2005#event.canceled'/>
                <gd:visibility value='http://schemas.google.com/g/
2005#event.default'/>
                <gd:transparency value='http://schemas.google.com/g/
2005#event.opaque'/>
                <gCal:uid value='[email protected]'/>
                <gCal:sequence value='0'/>
                <gd:when startTime='2009-04-18T11:30:00.000+03:00'
endTime='2009-04-18T12:30:00.000+03:00'>
                        <gd:reminder minutes='10' method='email'/>
                        <gd:reminder minutes='10' method='alert'/>
                </gd:when>
                <gd:who rel='http://schemas.google.com/g/2005#event.organizer'
valueString='Arizona Joe' email='[email protected]'/>
                <gd:where valueString=''/>
        </entry>
        <entry gd:etag='&quot;FUwLQAVBfCp7I2A6WhVU&quot;'>
                <id>http://www.google.com/calendar/feeds/default/events/
3jsf5j39sa2totvu7tj07udod4</id>
                <published>2009-04-11T07:11:42.000Z</published>
                <updated>2009-04-11T07:11:42.000Z</updated>
                <app:edited xmlns:app='http://www.w3.org/2007/
app'>2009-04-11T07:11:42.000Z</app:edited>
                <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'/>
                <title>recurring event test</title>
                <content></content>
                <link rel='alternate' type='text/html' 
href='http://www.google.com/
calendar/event?
eid=M2pzZjVqMzlzYTJ0b3R2dTd0ajA3dWRvZDRfMjAwOTA0MTFUMDgzMDAwWiB0ZXN0aWpvcm1hMkBt'
title='alternate'/>
                <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full/3jsf5j39sa2totvu7tj07udod4'/>
                <link rel='edit' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full/3jsf5j39sa2totvu7tj07udod4'/>
                <author>
                        <name>Arizona Joe</name>
                        <email>[email protected]</email>
                </author>
                <gd:recurrence>DTSTART;TZID=Europe/Helsinki:20090411T113000
                        DTEND;TZID=Europe/Helsinki:20090411T123000
                        RRULE:FREQ=WEEKLY;BYDAY=SA;WKST=SU
                        BEGIN:VTIMEZONE
                        TZID:Europe/Helsinki
                        X-LIC-LOCATION:Europe/Helsinki
                        BEGIN:DAYLIGHT
                        TZOFFSETFROM:+0200
                        TZOFFSETTO:+0300
                        TZNAME:EEST
                        DTSTART:19700329T030000
                        RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
                        END:DAYLIGHT
                        BEGIN:STANDARD
                        TZOFFSETFROM:+0300
                        TZOFFSETTO:+0200
                        TZNAME:EET
                        DTSTART:19701025T040000
                        RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
                        END:STANDARD
                        END:VTIMEZONE
                </gd:recurrence>
                <gCal:guestsCanModify value='false'/>
                <gCal:guestsCanInviteOthers value='true'/>
                <gCal:guestsCanSeeGuests value='true'/>
                <gCal:anyoneCanAddSelf value='false'/>
                <gd:eventStatus value='http://schemas.google.com/g/
2005#event.confirmed'/>
                <gd:visibility value='http://schemas.google.com/g/
2005#event.default'/>
                <gd:transparency value='http://schemas.google.com/g/
2005#event.opaque'/>
                <gCal:uid value='[email protected]'/>
                <gCal:sequence value='0'/>
                <gd:reminder minutes='10' method='email'/>
                <gd:reminder minutes='10' method='alert'/>
                <gd:who rel='http://schemas.google.com/g/2005#event.organizer'
valueString='Arizona Joe' email='[email protected]'/>
                <gd:where valueString=''/>
        </entry>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to