Cannot dis-allow custom themes
------------------------------
Key: ROL-1666
URL:
http://opensource.atlassian.com/projects/roller/browse/ROL-1666
Project: Roller
Issue Type: Bug
Components: User Interface - General
Affects Versions: 4.0
Reporter: David Johnson
Assignee: David Johnson
Fix For: 4.0.1, 4.1
>From Jens Dürr:
struts.xml and tiles.xml are probably not in sync any more.
struts.xml
<action name="themeEdit!*" method="{1}" class="
org.apache.roller.weblogger.ui.struts2.editor.ThemeEdit">
<result name="input" type="tiles">.ThemeEdit</result>
<result name="input-sharedonly"
type="tiles">.ThemeEditSharedThemesOnly</result>
</action>
In tiles.xml is no '.ThemeEditSharedThemesOnly' defined and therefore tiles
throws "NoSuchDefinitionException: .ThemeEditSharedThemesOnly".
This Exception gets thrown when "Allow Custom Themes" in Theme Settings
under Global Roller Config is set to "false"struts.xml and tiles.xml are
probably not in sync any more.
struts.xml
<action name="themeEdit!*" method="{1}" class="
org.apache.roller.weblogger.ui.struts2.editor.ThemeEdit">
<result name="input" type="tiles">.ThemeEdit</result>
<result name="input-sharedonly"
type="tiles">.ThemeEditSharedThemesOnly</result>
</action>
In tiles.xml is no '.ThemeEditSharedThemesOnly' defined and therefore tiles
throws "NoSuchDefinitionException: .ThemeEditSharedThemesOnly".
This Exception gets thrown when "Allow Custom Themes" in Theme Settings
under Global Roller Config is set to "false"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira