Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:Set deltaSubmit=false (Default)
Description
The test scenario is that an ace:comboBox is using an enum object for the list/value binding. There is also a button on the page that will open an ace:dialog. With the deltaSubmit context parameter set to true, opening the dialog via the button is causing a converter error:
javax.faces.convert.ConverterException: Report: : '' must be convertible to an enum.
at javax.faces.convert.EnumConverter.getAsString(EnumConverter.java:216)
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)
javax.faces.convert.ConverterException: Report: : '' must be convertible to an enum.
at javax.faces.convert.EnumConverter.getAsString(EnumConverter.java:216)
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)
Attached test case that reproduces the issue. Note: icefaces.jar, icefaces-ace.jar and icefaces-compat.jar files need to be added back into the war to deploy correctly.
Steps: