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

CSS files of a theme are not parsed if the parent folder's name starts by "/o"

    Details

      Description

      1. Create an empty theme from the classic theme (You can find an an attached themes to test this ticket )

      2. Add the next configuration in the liferay-look-and-feel.xml

      <?xml version="1.0"?>
      <!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.2.0//EN" "http://www.liferay.com/dtd/liferay-look-and-feel_6_2_0.dtd">
      <look-and-feel>
      	<compatibility>
      		<version>6.2.10+</version>
      	</compatibility>
      	<theme id="Test-theme" name="Test-theme" >
      		<templates-path>/ofi/templates</templates-path>
      		<css-path>/ofi/css</css-path>
      		<images-path>/ofi/images</images-path>
      		<javascript-path>/ofi/js</javascript-path>	
      	 </theme>
      </look-and-feel>
      

      3. Build and deploy the generated war theme.

      4. Create a page: page1, and apply the new theme.

      5. Go to the page1.

      Result: The style of the page is broken, and there are 404 for some resources in the theme (see attached image)

      Expected: The style is displayed fine.

        Attachments

        1. css.png
          css.png
          67 kB
        2. css-404-error.png
          css-404-error.png
          99 kB
        3. ufo-theme-1.war
          1.68 MB

          Issue Links

            Activity

              People

              • Assignee:
                joyce.wang Joyce Wang
                Reporter:
                jose.jimenez Jose Jimenez
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 49 weeks ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE
                  7.0.0 M4