ICEfaces
  1. ICEfaces
  2. ICE-9711

ace:comboBox - ConverterException: '' must be convertible to an enum

    Details

    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      When using an enum object with the ace:comboBox and use labelPosition="inField", a ConverterException is thrown.

      javax.faces.convert.ConverterException: Combo Box: : '' must be convertible to an enum.
          at javax.faces.convert.EnumConverter.getAsString(EnumConverter.java:219)
          at org.icefaces.ace.component.combobox.ComboBoxRenderer.getConvertedValueForClient(ComboBoxRenderer.java:478)
          at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeScript(ComboBoxRenderer.java:259)
          at org.icefaces.ace.component.combobox.ComboBoxRenderer.encodeBegin(ComboBoxRenderer.java:175)
          at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:822)
          ...

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case source code that reproduces the issue.

        Show
        Arran Mccullough added a comment - Attached test case source code that reproduces the issue.
        Hide
        Arturo Zambrano added a comment -

        Committed fix to 4.0 trunk at revision 39050 and to 3.3 EE branch at revision 39051. Added special case handling of empty string values when using the enum converter.

        Show
        Arturo Zambrano added a comment - Committed fix to 4.0 trunk at revision 39050 and to 3.3 EE branch at revision 39051. Added special case handling of empty string values when using the enum converter.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: