Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.30 EE GA3
    • Fix Version/s: 6.1.X EE, 6.2.X EE
    • Labels:
    • Environment:
      WebSphere 8.0

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                benson.lau Benson Lau (Inactive)
                Reporter:
                jonas.choi Jonas Choi
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 36 weeks, 3 days ago