You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2024/10/15 20:21:01 UTC

[jira] [Commented] (MYFACES-4682) Error Message: newBodyData is undefined

    [ https://issues.apache.org/jira/browse/MYFACES-4682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889829#comment-17889829 ] 

Volodymyr Siedlecki commented on MYFACES-4682:
----------------------------------------------

Completely forgot I created this originally. Closing in favor of MYFACES-4685.

> Error Message: newBodyData is undefined
> ---------------------------------------
>
>                 Key: MYFACES-4682
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4682
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.3.11, 3.0.3
>            Reporter: Volodymyr Siedlecki
>            Priority: Major
>         Attachments: jsf_ajax_keyword_web.war
>
>
> The EE8 TCK for JSF 2.3 is failing for the following tests:
> [com.sun.ts.tests.jsf.spec.ajax.keyword.URLClient|https://github.com/jakartaee/platform-tck/blob/8.0.x/src/com/sun/ts/tests/jsf/spec/ajax/keyword/URLClient.java]
>  - ajaxAllKeywordTest
>  - ajaxFormKeywordTest
>  - ajaxNoneKeywordTest
>  - ajaxThisKeywordTest
> They all seem to report the same exception in the JavaScript code:
> {code:java}
> Error Message: newBodyData is undefined
> Error Name: clientError
> Server error name: TypeError{code}
>  
> {code:java}
> TypeError: newBodyData is undefined
>     _replaceBody http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:8799
>     processUpdate http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:8269
>     processChanges http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:8211
>     processResponse http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:7901
>     response http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:10039
>     response http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:10519
>     onsuccess http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:7443
>     hitch http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:2408
>     mixMaps http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:2439
>     send http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:7345
>     enqueue http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:6148
>     xhrQueuedPost http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:8897
>     request http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:9688
>     request http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:10476
>     anonymous http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development line 10178 > Function:3
>     chain http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:10178
>     chain http://localhost:9080/ajax-keyword-SNAPSHOT/faces/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development:10542
>     onclick http://localhost:9080/ajax-keyword-SNAPSHOT/faces/ajaxAllKeyword1.xhtml:1{code}
> I haven't tested 3.0.3, but I except the same issue. I will follow up to verify.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)