Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-36052

Theme projects with "-web*" in the project name causes HTTP 404 errors

Details

    Description

      Steps to Reproduce:

      1. Using the Plugins SDK, create and deploy a new theme named foo-website like this:

      cd plugins-sdk/themes
      ./create.sh foo-website "Foo Website"
      cd foo
      ant deploy
      

      2. Using the "Manage Page" feature, set the current theme to be "Foo Website"

      If the bug still exists, then Chrome will report 404 errors like the following:

      GET http://localhost:8080/foo-website-theme/css/compass 404 (Not Found)

      It turns out that "-web" is enough to cause the problem. So perhaps this is causing the portal to somehow get the theme confused with "Web Plugins" which have a "-web" extension. Just a guess though.

      Obvious workaround: Don't put "-web" in your theme name

      Attachments

        Issue Links

          Activity

            People

              neil.griffin Neil Griffin
              neil.griffin Neil Griffin
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 26 weeks, 2 days ago

                Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2