Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-1220

trouble with config variable and skins, only in WAR mode

    Details

      Description

      When using a WAR, and our provided skins, it seems that the $config (i.e. //skinconf) variable is not instantiated until it has actually been used. In a stylesheet (e.g. main/webapp/skins/pelt/xslt/html/site-to-xhtml.xsl) the $config variable is set by the imported "common" related stylesheet. The first use of the $config variable (i.e. motd) is failing in WAR mode, but all is fine in 'forrest run' and 'forrest site' modes. The fix seems to be to actually use the variable (e.g. with count() function) before trying to process it.

      This seems to be only a problem on Java 1.5 and is okay on Java 6.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              crossley David Crossley
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: