[ https://issues.apache.org/jira/browse/MYFACES-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16472281#comment-16472281 ]
Werner Punz commented on MYFACES-4230: -------------------------------------- Found it, there is a deviation in the dom behavior between ie11 and modern browsers. Modern browsers basically return an empty string on a fieldset name. IE11 returns a null !ie11.png! now compared to a modern browser (Chrome in this case) !modern.png! Apparently Microsoft has fixed this deviation in Edge and edge behaves as normal. I will add an appropriate check to handle undefineds and nulls and empty strings the same for this case. > IE 11 an javascript error occured after rerender part of the page > ----------------------------------------------------------------- > > Key: MYFACES-4230 > URL: https://issues.apache.org/jira/browse/MYFACES-4230 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.3.0, 2.3.1 > Environment: MyFaces 2.3.1 > Reporter: Niels Borman > Assignee: Werner Punz > Priority: Critical > Fix For: 2.3.2 > > Attachments: 1 - Error element name null.png, 2 - Error element.png, > 3 - html.png, Screen Shot 2018-05-08 at 09.15.36.png, ie11.png, modern.png > > > In IE 11 we get an javascript error: > TypeError: Unable to get property 'indexOf' of undefined or null reference > > This error arises on linenumber 7451 of jsf.js. The element is in IE > undefined so the error is thrown. Can you please make the if statement so > that there is a check if name is not undefined. In other browsers the name > property is “” so the error doen’s occure. -- This message was sent by Atlassian JIRA (v7.6.3#76005)