You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/09/27 12:04:11 UTC

[jira] [Created] (MYFACES-3333) jsf.js: htmlunit5 throws an error on full body replacement test

jsf.js: htmlunit5 throws an error on full body replacement test
---------------------------------------------------------------

                 Key: MYFACES-3333
                 URL: https://issues.apache.org/jira/browse/MYFACES-3333
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
            Reporter: Werner Punz


This is clearly not a bug, but a problem in html unit. At a full page replacement test I am getting a undefined.noteType is not defined.
Now the problem here is I traced it down, and it seemed to be a timing issue. Inserting assertion checks which throw errors at the corresponding methods resolve the issue to a satisfying degree.
The errors clearly if triggered would have caused an error in the console log and in the page. Also the error is not present in html unit 2.6.
So I mark the fixes as improvement, because they will allow to run our tests.


--
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

        

[jira] [Resolved] (MYFACES-3333) jsf.js: htmlunit5 throws an error on full body replacement test

Posted by "Werner Punz (Resolved) (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-3333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Werner Punz resolved MYFACES-3333.
----------------------------------

    Resolution: Fixed
    
> jsf.js: htmlunit5 throws an error on full body replacement test
> ---------------------------------------------------------------
>
>                 Key: MYFACES-3333
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3333
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 2.0.10-SNAPSHOT, 2.1.4-SNAPSHOT
>            Reporter: Werner Punz
>
> This is clearly not a bug, but a problem in html unit. At a full page replacement test I am getting a undefined.noteType is not defined.
> Now the problem here is I traced it down, and it seemed to be a timing issue. Inserting assertion checks which throw errors at the corresponding methods resolve the issue to a satisfying degree.
> The errors clearly if triggered would have caused an error in the console log and in the page. Also the error is not present in html unit 2.6.
> So I mark the fixes as improvement, because they will allow to run our tests.

--
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