[richfaces-issues] [JBoss JIRA] Created: (RF-8541) Null Parent Node

Fernando Ribeiro (JIRA) jira-events at lists.jboss.org
Sat Mar 20 13:37:37 EDT 2010


Null Parent Node
----------------

                 Key: RF-8541
                 URL: https://jira.jboss.org/jira/browse/RF-8541
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.3.3.CR1
            Reporter: Fernando Ribeiro


While using portlets with JBoss Portlet Bridge 2.0.0.CR1, I get an "script.parentNode is null or not an object" in IE8 (but not in Firefox 3.6) from ui.pack.js:

function checkReadyState() {

  if (script.readyState=="complete") {
    script.parentNode.removeChild(script);
    callDomLoadFunctions()
  }

}

I wasn't able to find the cause of the issue, but found a way to work around it:

function checkReadyState() {

  if (script.parentNode && script.readyState=="complete") {
    script.parentNode.removeChild(script);
    callDomLoadFunctions()
  }

}

Can you please investigate the issue and/or consider adding the workaround to the next 3.x release?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list