yugalatea / gwt-google-apis

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

Gadget created with bad enum values fail to load into iGoogle #197

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
r923

Detailed description:
I created a simple gadget 

public class HelloGadgets extends Gadget<HelloPreferences> implements
    NeedsSetPrefs {

But the iGoogle 'Add Stuff' page rejected it.

It turns out I had 2 enum values with the same 'display_value' attribute
value.  It would be nice if the generator kicked that out.

Workaround if you have one:
Make sure you don't duplicate any values with the @EnumDisplayValue annotation.

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 21 Oct 2008 at 5:31

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 22 Oct 2008 at 3:25

GoogleCodeExporter commented 9 years ago
I am not working on this at the moment.  Patches would be gratefully accepted.

Original comment by galgwt.reviews@gmail.com on 9 Jan 2009 at 3:37

GoogleCodeExporter commented 9 years ago
I am not working on this at the moment.  Patches would be gratefully accepted.

Original comment by galgwt.reviews@gmail.com on 9 Jan 2009 at 3:37