Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:Compat themes
-
Assignee Priority:P1
Description
Using both ICEfaces EE 3.3.0.GA and current trunk, PanelTabSet background images that comes from rime.css are broken links. Reproduced with Mojarra 2.2 and 2.1.23, and MyFaces.
In this file we link to the rime.css file:
icefaces3/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml
Using this component:
<h:outputStylesheet library="ice.compat" name="rime/rime.css"/>
Which renders this output:
<link type="text/css" rel="stylesheet" href="/showcase/javax.faces.resource/rime/rime.css.jsf?ln=ice.compat&v=3_4_0_130712">
The rime.css image links are of this form:
'../xmlhttp/css/rime/css-images/Tab_LftTop.gif'
Which resolve to this in the browser:
http://localhost:8080/showcase/javax.faces.resource/xmlhttp/css/rime/css-images/Tab_LftTop.gif
In this file we link to the rime.css file:
icefaces3/samples/showcase/showcase/src/main/webapp/resources/templates/main-template.xhtml
Using this component:
<h:outputStylesheet library="ice.compat" name="rime/rime.css"/>
Which renders this output:
<link type="text/css" rel="stylesheet" href="/showcase/javax.faces.resource/rime/rime.css.jsf?ln=ice.compat&v=3_4_0_130712">
The rime.css image links are of this form:
'../xmlhttp/css/rime/css-images/Tab_LftTop.gif'
Which resolve to this in the browser:
http://localhost:8080/showcase/javax.faces.resource/xmlhttp/css/rime/css-images/Tab_LftTop.gif
Issue Links
- depends on
-
ICE-9338 Resource coalescing omitting fileentry.js
-
- Closed
-
This is a regression caused by the commit for
ICE-9338.When merging the resources for the rendered views the list of ordered resources build off the dependency metadata. rime.css resource is not defined and thus the merging code skips its addition.
The fix makes sure to also add the unordered resources at the end of the list of merged resources.