Tynamo

EditComposition component doesn't know know how to deal with enum types

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major 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 :
    0

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.

Activity

Hide
Kalle Korhonen added a comment -

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.

Show
Kalle Korhonen added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
4h
Original Estimate - 4 hours
Remaining:
4h
Remaining Estimate - 4 hours
Logged:
Not Specified
Time Spent - Not Specified