myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (Resolved) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3444) js-error: _mfInternal is null
Date Fri, 13 Jan 2012 11:08:39 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Werner Punz resolved MYFACES-3444.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.6-SNAPSHOT
                   2.0.12-SNAPSHOT

The issue was a bug IE8 inherited from IE6, if an innerHTML is performed and some script tags
are inside there is a chance that the markup is messed up, the script tags and other tags
are lost in certain combinations. 

While we have fixed the issue for IE6 it went unnoticed that IE8 also is affected by the problem
(IE9 is not). We simply activated the fixup code for ie6 also for IE7 and IE8 which resolves
the problem.

After activating the bug the problem now seems to be gone away.
                
> js-error: _mfInternal is null
> -----------------------------
>
>                 Key: MYFACES-3444
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3444
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.1.5
>         Environment: richfaces-4.1.0.Final and richfaces-4.1.1-SNAPSHOT (11.01.2012)
> myfaces-2.1.5 and myfaces-2.1.6-SNAPSHOT
>            Reporter: Rene O
>            Assignee: Werner Punz
>             Fix For: 2.0.12-SNAPSHOT, 2.1.6-SNAPSHOT
>
>         Attachments: jsf2testcase.war
>
>
> If i do sorting within richfaces extendeddatatable component a js error occurs.
> A testcase to reproduce this issue is attached.
> Steps to reproduce this issue:
> 1. http://localhost:8080/jsf2testcase/extendeddatatable.jsf
> 2. click 'Sort ColumnA'
> 3. js-error occurs
> If you use Firefox 9 or chrome 16, everything works as expected. If you use IE8, the
following js-error occurs:
> IE-8 js-error:
> Meldung: 'richfaces.utils.getCSSRule(...).style' ist Null oder kein Objekt
> Zeile: 362
> Zeichen: 17
> Code: 0
> URI: http://localhost:8080/jsf2testcase/javax.faces.resource/extendedDataTable.js.jsf;jsessionid=F4E29BC7AFDDEBB4A0395E622B5B44E7?ln=org.richfaces
> Meldung: '_mfInternal' ist Null oder kein Objekt
> Zeile: 1
> Zeichen: 99511
> Code: 0
> URI: http://localhost:8080/jsf2testcase/javax.faces.resource/jsf.js.jsf;jsessionid=F4E29BC7AFDDEBB4A0395E622B5B44E7?ln=javax.faces
> Note: This issue doesn't occur with mojarra-2.1.5
> Because of this, i think, that this is a myfaces issue and not a richfaces one.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message