[jboss-jira] [JBoss JIRA] (AS7-5670) jboss-jsf-api contains invalid jsf.js
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Wed Oct 3 07:44:03 EDT 2012
[ https://issues.jboss.org/browse/AS7-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723615#comment-12723615 ]
Stan Silvert commented on AS7-5670:
-----------------------------------
You are right. jsf.js and jsf-uncompressed.js should not be in the API jar. They do exist already in the impl jar.
Can you manually remove these files from the API jar and see if it clears up your problem? If so, I'll do a new release of the API jar.
> jboss-jsf-api contains invalid jsf.js
> -------------------------------------
>
> Key: AS7-5670
> URL: https://issues.jboss.org/browse/AS7-5670
> Project: Application Server 7
> Issue Type: Bug
> Components: JSF
> Affects Versions: 7.1.3.Final (EAP)
> Reporter: Lukáš Fryč
> Assignee: Stan Silvert
>
> There is wrong version of {{jsf.js}} ({{javax.faces:jsf.js}} resource) packaged in {{jboss-jsf-api_2.1_spec:2.0.6.Final}} [1].
> The root cause is this resource does not contain top-level {{var mojarra = mojarra || {};}} definition, which makes JSF AJAX fail.
> But additionally, the resource is not compressed at all (as opposed to {{jsf.js}} in {{com.sun.faces:jsf-impl}}.
> In my opinion, the {{jsf.js}} and {{jsf-uncompressed.js}} resources should not be packaged with JSF API, they are part of implementation ({{com.sun.faces:jsf-impl}}).
> [1] https://github.com/jboss/jboss-jsf-api_spec/blob/jboss-jsf-api_2.1_spec-2.0.6.Final/src/main/resources/META-INF/resources/javax.faces/jsf.js
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list