Details

    • Similar Issues:
      Show 5 results 

      Description

      DynamicCSSUtil._getTheme() doesn't pick up the folder path for plugins deployed in WebSphere.

      In WebSphere, the folder path is like:
      C:/.../websphere/.../installedapps/sample-theme.ear/sample-theme.war/css/file.css

      In Tomcat, the path is like
      C:/.../tomcat/.../webapps/sample-theme/css/file.css

      Note this difference:
      Websphere: sample-theme.war
      Tomcat: sample-theme

      DynamicCSSUtil.java:348-353
      private static Pattern _pluginThemePattern = Pattern.compile(
      "
      /([^\\/]+)-theme
      /", Pattern.CASE_INSENSITIVE);
      private static Pattern _portalThemePattern = Pattern.compile(
      "themes
      /([^\\/]+)
      /css", Pattern.CASE_INSENSITIVE);
      private static RubyExecutor _rubyExecutor = new RubyExecutor();
      private static String _rubyScript;

      The patterns in lines 349 and 351 do not account for the possibility of a ".war" in the path name.

      Steps to reproduce
      1. Deploy any theme to WAS.
      Theme must use SASS for this to show.

        Issue Links

          Activity

          Hide
          Benson Lau added a comment -

          no longer reproducible as of lps-28241

          Show
          Benson Lau added a comment - no longer reproducible as of lps-28241

            People

            • Assignee:
              Benson Lau
              Reporter:
              Jonas Choi
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 19 weeks, 1 day ago

                Development

                  Structure Helper Panel