roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Created: (ROL-1666) Cannot dis-allow custom themes
Date Sun, 03 Feb 2008 22:26:45 GMT
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

       

Mime
View raw message