Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1368

theme.properties not read from filesystem

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • WW 2.2.2
    • 2.0.0
    • Plugin - Tags
    • 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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tm_jee tm_jee
            tm_jee tm_jee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment