and we filled an internal bug against the server... the problem is that not
submitting the <where> entry and sendind a where with empty content should,
from a protocol perspective, be identical, so the .NET libs are doing the
right thing, the server is doing something wrong.

For a workaround, what you could do is just disable the ispersistable check
yourself and build your own DLLs. The worst that can happen is that you send
empty elements around...

As long as i have not heard from the server team back, i am reluctant to put
that kind of workaround into the library in any official way, it would be
wrong...

Frank Mantek
Google

On 2/26/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
>
> No, i can't because the IsPersistable method Trims off any whitespaces.
>
> *Frank Mantek <[EMAIL PROTECTED]>* wrote:
>
> Ok, got it. ... Not sure what to do about it right now, but i will figure
> something out for the next release.... For a workaround, can you use a
> string with one blank?
>
> Frank
>
> On 2/25/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote:
> >
> > Just a simple way to replicate what i mentioned.
> >
> > 1. Create a Calendar Event programatically and insert it in Google
> > calendar with Event "Where" as "WHATEVER".
> > 2. Now try updationg this newly created event's Where as "".
> > 3. The Where in the Google Calendar will still remain as "WHATEVER".
> >
> > This is due to a check in Google Calendar API -> 
> > Utilities.IsPersistable(string)
> > which just skips NULL or EMPTY strings.
> >
> >
> >  On 2/25/07, Frank Mantek <[EMAIL PROTECTED]> wrote:
> > >
> > > Sorry, i missed the original post. Reading your original post below, i
> > > am not quite sure on what you are observing? What is the "wrong" behavior?
> > > Can you put a code snippet and what is happening here?
> > >
> > > Frank Mantek
> > > Google
> > >
> > > On 2/24/07, Kulvinder Singh <[EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > > Any updates on this ?
> > > >
> > > >
> > > > *Kulvinder Singh <[EMAIL PROTECTED] >* wrote:
> > > >
> > > > Hi,
> > > >
> > > > I have noted one thing while updating the Where and Content elements
> > > > in Google calendar API.
> > > >
> > > > This is special case when a NON-NULL or NON-EMPTY value of Where or
> > > > Content elements in a Google Event is set to EMPTY or NULL value.
> > > >
> > > > I think the problem is while checking the 
> > > > Utilities.IsPersistable(content
> > > > or where) before setting to Save the value in the XML.
> > > >
> > > > Is the behaviour of Google API correct ?
> > > >
> > > > Regards
> > > > Kulvinder Singh
> > > >  ------------------------------
> > > > Finding fabulous fares is fun.
> > > > Let Yahoo! FareChase search your favorite travel 
> > > > sites<http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw-->to
> > > >  find flight and hotel bargains
> > > > ------------------------------
> > > > Be a PS3 game guru.
> > > > Get your game face on with the latest PS3 news and previews at
> > > > Yahoo! Games.
> > > > <http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com>
> > > >
> > > >
> > >
> > >
> > >
>
> ------------------------------
> We won't tell. Get more on shows you hate to 
> love<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A>
> (and love to hate): Yahoo! TV's Guilty Pleasures 
> list.<http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265%0A>>
>

--~--~---------~--~----~------------~-------~--~----~
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