[
https://issues.jboss.org/browse/WFLY-12336?page=com.atlassian.jira.plugin...
]
Martin Stefanko moved JBEAP-17307 to WFLY-12336:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-12336 (was: JBEAP-17307)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Target Release: (was: 7.backlog.GA)
Mojarra 4596 - Scripts with CDATA cause "empty response"
error on Ajax render
-----------------------------------------------------------------------------
Key: WFLY-12336
URL:
https://issues.jboss.org/browse/WFLY-12336
Project: WildFly
Issue Type: Bug
Reporter: Martin Stefanko
Assignee: Teresa Miyar Gil
Priority: Major
Attachments: reproducer2.war
Fix required for Mojarra Issue 4388 / Scripts with CDATA cause "empty response"
error on Ajax render
Ref:
https://github.com/javaserverfaces/mojarra/issues/4388
--
The RenderKitImpl (com.sun.jsf-impl) class is returning a wrong configured ResponseWriter
on partial responses. It is breaking the xhtml when it contains a javascript with CDATA;
the final xhtml has a bad closed nested CDATAs.
The JSF 2.2.15 RenderKitImpl:
https://github.com/javaserverfaces/mojarra/blob/2.2.15/jsf-ri/src/main/ja...
The JSF 2.3.5 RenderKitImpl:
https://github.com/javaserverfaces/mojarra/blob/2.3.5/jsf-ri/src/main/jav...
The issue was introduced with the following commits:
https://github.com/javaserverfaces/mojarra/commit/8a5a562e129a31f3655de86...
https://github.com/javaserverfaces/mojarra/commit/ee3671db95986395e3a40a5...
The issue is fixed on JSF 2.3.9 reverting those above commits.
https://github.com/javaserverfaces/mojarra/issues/4358#issuecomment-44009...
Apply:
https://github.com/javaserverfaces/mojarra/commit/cebcd9bd41f562ec02450d5...
https://github.com/javaserverfaces/mojarra/commit/954773aa256b68e744ae917...
Final class:
https://github.com/javaserverfaces/mojarra/blob/MOJARRA_2_3X_ROLLING/jsf-...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)