Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Any
-
Assignee Priority:P2
Description
Whenever trying to submit a form that contains an ice:selectOneRadio component, a Javascript error appears in the console, and the from cannot be submitted. The error that appears is the following:
SCRIPT5007: Unable to get property 'indexOf' of undefined or null reference
File: jsf.js.jsf, Line: 1, Column: 14523
This was initially reported inICE-9731, as the Rich Text demo of the component-showcase app was failing. It was found that the problem was with ice:selectOneRadio. To reproduce, simply go to the Rich Text demo in component-showcase and click on the save button of the editor or try to select a different option in the radio control. This can also be reproduced in the Extended Components > Selection demo by trying to enter any value in any component. These issues don't occur when removing the ice:selectOneRadio components from the pages.
SCRIPT5007: Unable to get property 'indexOf' of undefined or null reference
File: jsf.js.jsf, Line: 1, Column: 14523
This was initially reported in
The fix adds 'name' attribute to the submitting fieldset element to avoid JS error in Mojarra bridge. Mojarra is trying to access the 'name' attribute when serialising the form.