Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: model-0.0.1
-
Fix Version/s: model-0.0.2, model-0.1.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
For example, change Fruit's Origin property in the simple example to a Set and @CollectionOfElements. The editor is displayed properly but available is empty and if there are existing elements in the collection, the page fails with NullPointerException on OptionModel. Probably need to handle enums as an exception in the editor using EnumSelectModel or something similar.
It's actually the palette block in Editors. The actual Palette component is able to deal with enums fine, it's just the GenericSelectionModel is not able to supply the right values - shouldn't be too hard to fix.