org.exoplatform.portal.resource.SkinService#processCSSRecursively(Appendable, boolean,
Resource, Orientation) parses even commented lines
-----------------------------------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1943
URL:
https://issues.jboss.org/browse/GTNPORTAL-1943
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.1.0-GA
Environment: Does not matter
Reporter: Michael Hauer
org.exoplatform.portal.resource.SkinService#processCSSRecursively(Appendable, boolean,
Resource, Orientation)
parses commented lins like for example:
/*
@import url(DefaultSkin/portal/webui/component/UIPortalApplicationSkin.css);
@import url(DefaultSkin/webui/component/Stylesheet.css);
*/
@import url(PortletThemes/Stylesheet.css);
/*
@import url(Portlet/Stylesheet.css);
*/
/* Direkt Styles */
@import url(DirektSkin/global.css);
@import url(DirektSkin/content.css);
which was a great pain to find out.
The first line in the given example which will be parsed is @import
url(DefaultSkin/portal/webui/component/UIPortalApplicationSkin.css); but this is IMHO
incorrect and leads to the effect that the correct styles (global.css and content.css)
won't load.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira