Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01
-
Fix Version/s: EE-3.3.0.GA_P02, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Ace
-
Assignee Priority:P2
-
Support Case References:Support Case #12783 - https://icesoft.my.salesforce.com/5007000000bGAKR
Description
According to the wiki documentation, if you do not want an ACE theme to load, you should set the org.icefaces.ace.theme context param to 'none'. Doing this causes the following link stylesheet to be rendered:
<link href="RES_NOT_FOUND" rel="stylesheet" type="text/css">
Which results in a 404 error from the server.
The following is printed to the console: WARNING: JSF1064: Unable to find or serve resource, theme.css, from library, ace-none.
<link href="RES_NOT_FOUND" rel="stylesheet" type="text/css">
Which results in a 404 error from the server.
The following is printed to the console: WARNING: JSF1064: Unable to find or serve resource, theme.css, from library, ace-none.
Activity
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
According to the wiki documentation, if you do not want an ACE theme to load, you should set the org.icefaces.ace.theme context param to 'none'. Doing this causes the following link stylesheet to be rendered:
<link href="RES_NOT_FOUND" rel="stylesheet" type="text/css"> Which results in a 404 error from the server. |
According to the wiki documentation, if you do not want an ACE theme to load, you should set the org.icefaces.ace.theme context param to 'none'. Doing this causes the following link stylesheet to be rendered:
<link href="RES_NOT_FOUND" rel="stylesheet" type="text/css"> Which results in a 404 error from the server. The following is printed to the console: WARNING: JSF1064: Unable to find or serve resource, theme.css, from library, ace-none. |
Arran Mccullough
made changes -
Support Case References | Support Case #12783 - https://icesoft.my.salesforce.com/5007000000bGAKR |
Ken Fyten
made changes -
Assignee | Arturo Zambrano [ artzambrano ] | |
Fix Version/s | EE-3.3.0.GA_P02 [ 11371 ] | |
Fix Version/s | 4.0 [ 11382 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40915 | Thu May 01 18:22:37 MDT 2014 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/themeselect/ThemeSymbolicResourceHandler.java
ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/themes/none/theme.css ADD /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/themes/none |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Committed fix to 4.0 trunk at revision 40915 and to 3.3 EE maintenance branch at revision 40914.
The code to handle the 'none' parameter value must have been lost while moving from relying on the head renderer to the themeSelect component to serve the theme resource. In both codebases, the fix consists in adding code to check if "none" was specified as the org.icefaces.ace.theme context param. In the case of the 4.0 trunk, we'll serve an empty theme.css resource, because of the ResourceHandler approach to serve the resource, which expect a non-null Resource object. In the case of the 3.3 EE maintenance branch, we simply avoid creating a theme Resource.