[
https://issues.apache.org/jira/browse/PLUTO-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Stiemann updated PLUTO-657:
--------------------------------
Priority: Minor (was: Major)
> pluto fails to add head scripts with CDATA
> ------------------------------------------
>
> Key: PLUTO-657
> URL: https://issues.apache.org/jira/browse/PLUTO-657
> Project: Pluto
> Issue Type: Bug
> Components: portlet container
> Affects Versions: 3.0.0
> Reporter: Kyle Stiemann
> Assignee: Scott Nicklous
> Priority: Minor
> Fix For: 3.0.1
>
>
> To reproduce this issue, create a portlet with the following code:
> {code}
> public void renderHeaders(HeaderRequest headerRequest, HeaderResponse
> headerResponse) throws PortletException,
> IOException {
> headerResponse.addDependency("myCDATAScript", null, null,
> "<script type=\"text/javascript\">" +
> "/* <![CDATA[ */ if (0 < 1) { console.log('0 is less than 1'); }
> // ]]>" +
> "</script>");
> }
> {code}
> If the bug still exists an exception will appear in the logs and the script
> will not appear in the {{head}} section.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)