[
https://issues.apache.org/jira/browse/MYFACES-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16471557#comment-16471557
]
Werner Punz edited comment on MYFACES-4230 at 5/11/18 7:38 AM:
---------------------------------------------------------------
Ok the issue seems to be here, that a form element is without a name in the
ie11 case, which is a clear deviation from the w3c specs, which enforce a name
on every input. Lets see if I can replicate this issue on my side here.
Just to help me here quickly, can you attach a browser html snippet of the
affected form or subpart of the page, to check whether this is a standard jsf
element.
My guess is the fix is just to jump over form input elements which do not have
names set, but to confirm that I need to crosscheck if the underlying jsf
implementation renders the elements in your case correctly or IE11 might expose
a bug here. Otherwise I have to forward this bug as well.
was (Author: werpu):
Ok the issue seems to be here, that a form element is without a name in the
ie11 case, which is a clear deviation from the w3c specs, which enforce a name
on every input. Lets see if I can replicate this issue on my side here.
Just to help me here quickly, can you send a html snippet of the affected form
or subpart of the page, to check whether this is a standard jsf element.
My guess is the fix is just to jump over form input elements which do not have
names set, but to confirm that I need to crosscheck if the underlying jsf
implementation renders the elements in your case correctly or IE11 might expose
a bug here. Otherwise I have to forward this bug as well.
> 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: Screen Shot 2018-05-08 at 09.15.36.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)