[jboss-jira] [JBoss JIRA] (AS7-5670) jboss-jsf-api contains invalid jsf.js

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Oct 3 04:50:04 EDT 2012


Lukáš Fryč created AS7-5670:
-------------------------------

             Summary: 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-{{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, there are part of implementation.

[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