Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
WW 2.2.2
-
None
Description
In BaseTemplateEngine.getThemeProps(), theme.properties is only loaded from the classpath. However, the theme spec generally implies that templates will be read from the filesystem first, and the classpath as a fallback. The theme.properties file currently has to exist in the classpath even if other templates are on the filesystem.
getThemeProps should attempt to resolve theme.properties on the file system first, then on the classpath.
This is created in relation to a bug reported in WW2 at http://jira.opensymphony.com/browse/WW-1292