Thanks for the update. I can confirm that the problem went away for our affected gadgets.
In addition, for those gadgets were a userpref is required but no default value is specified, we're now correctly seeing the "Sorry! Gadget cannot be displayed until all required settings are provided." notice when the gadget is first installed, prompting the user to make a userpref selection. If that behavior changes again for some reason, I'll update this thread. Thanks On Apr 28, 3:08 pm, Rob Russell <[email protected]> wrote: > The horoscope gadget was fixed before I had anything to look at (but judging > by the comments on the directory listing, it broke for other people around > the same time). I reproduced the problem with defaults on boolean > preferences and filed a bug on it. That should be fixed now. It seems like > the root cause was also affecting access to the prefs in Javascript. > > Rob Russell > Google Developer Relations > > > > > > On Wed, Apr 21, 2010 at 7:30 PM, Rob Russell <[email protected]> wrote: > > Thanks for the detailed information. I've looked at your gadget spec and > > added the gadget to an account. It does look like the default values which > > should be set to true are not taking effect. I'll look in to it some more > > and see what I can find out. > > > Rob Russell > > Google Developer Relations > > > On Wed, Apr 21, 2010 at 6:48 PM, ty <[email protected]> wrote: > > >> We're aware of the issue going on with the user prefs and the url > >> gadgets; however, we're experiencing an issue with an html gadget so > >> decided to create a separate post. > > >> As of this morning (or yesterday), one of our popular gadgets located > >> athttp://www.turkishmedia.com/gadget/piyasa.xmllost all of its > >> default user prefs that are datatype="bool". Some of the user pref > >> options were "pre-selected" for the users as set by > >> default_value="true"; however when we now look at the gadget's > >> settings (through edit settings), all check boxes appear blank (false) > >> as if default_value="true" has no affect. The strange thing is that if > >> one goes to "edit settings" screen and make edits to user preferences > >> after the gadget is installed, then those settings hold true OK. > >> However, the "default" settings are being ignored > > >> Sample user pref code is as follows: > > >> <UserPref name="code" display_name="Name" datatype="bool" > >> default_value="true" /> > > >> ... where default_value is being completely ignored. > > >> More importantly, this problem is showing itself on any gadget that > >> has a userpref with a required="true" datatype > > >> Take <UserPref name="horoscope" display_name="Horoscope:" > >> datatype="enum" required="true"> for instance. When no "EnumValue" had > >> default_value="true", the user was being prompted to make a selection > >> among the available setting options when the gadget is first > >> installed. The gadget was stating that a setting value was required > >> and providing the user with a drop-down select box to make a > >> selection. Now, this behavior seems to be completely changed.. the > >> user is no longer being prompted to make a selection when userpref is > >> required and such gadgets appear broken when there no value is being > >> passed for a required parameter. Again, this is true for any gadget, > >> not just type=url gadgets > > >> Another good example is Google's own featured "Horoscope" gadget with > >> 1+ million users (http://www.google.com/ig/modules/horoscope.xml). > >> This gadget is broken right now and users seem to be complaining: > > >>http://www.google.com/ig/directory?hl=en&url=www.google.com/ig/module... > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "iGoogle Developer Forum" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<Google-Gadgets-API%2Bunsubs > >> [email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/Google-Gadgets-API?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "iGoogle Developer Forum" 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 > athttp://groups.google.com/group/Google-Gadgets-API?hl=en. -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" 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-Gadgets-API?hl=en.
