[richfaces-issues] [JBoss JIRA] (RF-13291) Optimized resource ordering is incorrect after recent changes

Brian Leathem (JIRA) jira-events at lists.jboss.org
Sat Oct 26 18:02:01 EDT 2013


    [ https://issues.jboss.org/browse/RF-13291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12825197#comment-12825197 ] 

Brian Leathem commented on RF-13291:
------------------------------------

There are 2 solutions to this problem:

# Remove use of the _reslibs_.
# Introduce an artificial Resource annotation to order the resources.

While 1) is the preferred solution, it is larger in scope.  OTOH 2) has already been done in the case of [CSVResourceDependenciesOrdering|https://github.com/richfaces/richfaces/blob/a3b4438d8d7a7f4f5facc1d2fb5ff9cd6114b744/framework/src/main/java/org/richfaces/ui/validation/validator/CSVResourceDependenciesOrdering.java].

Let's proceed with 2), renaming the CSVResourceDependenciesOrdering filename and introducing some static classes to hold the resource annotations in a single file.
                
> Optimized resource ordering is incorrect after recent changes
> -------------------------------------------------------------
>
>                 Key: RF-13291
>                 URL: https://issues.jboss.org/browse/RF-13291
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: resource handling
>            Reporter: Brian Leathem
>            Assignee: Michal Petrov
>            Priority: Blocker
>             Fix For: 5.0.0.Alpha2
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> With the applilcation of commit [0855b6|https://github.com/richfaces/richfaces/commit/0855b61d55533ad9c1b31555f222608911806cb0] resource optimisation is incorrectly determining the order of some resources.  For instance the resource base-component.js is packaged in packed.js after it is invoked, causing a javascript exception.
> This is due to the use of resource libraries (_reslibs_) such as base-component.library.properties that interfere with the Resource Optimisation inspection of resource dependencies.

--
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 richfaces-issues mailing list