[richfaces-issues] [JBoss JIRA] (RF-11739) Components that don't require jsf.js can break ResourceMapping
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Wed Mar 7 16:00:25 EST 2012
[ https://issues.jboss.org/browse/RF-11739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674890#comment-12674890 ]
RH Bugzilla Integration commented on RF-11739:
----------------------------------------------
Karel Piwko <kpiwko at redhat.com> made a comment on [bug 801172|https://bugzilla.redhat.com/show_bug.cgi?id=801172]
Possible reason why that happens:
While comparing ER1 and ER2 releases:
/tmp/richfaces-components-ui-4.2.0.Final-redhat-1.jar.diffjars.Dfb/META-INF/richfaces/staticResourceMapping/Packed.properties
contains line 117 javax.faces\:jsf.js=org.richfaces.staticResource/4.2.0.Final-redhat-1/Packed/packed/packed.js
which load packed.js before jquery.js.
Kudos to Lukas Fryc for discovering this issue.
> Components that don't require jsf.js can break ResourceMapping
> --------------------------------------------------------------
>
> Key: RF-11739
> URL: https://issues.jboss.org/browse/RF-11739
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.0.0.CR1
> Reporter: Brian Leathem
> Assignee: Lukáš Fryč
> Fix For: 4.3-Tracking
>
>
> This bug is only observable when resourceMapping is enabled.
> If a component doesn't require jsf.js, and it is the first component to require a resource, it will trigger packed.js to redner before jsf.js. This breaks some of the scripts in packed.js, that require jsf.js.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list