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

CSS Import Not working for files with ../ in their path

    Details

      Description

      //actual reproduction steps
      1) Clean:

      • Liferay_home/work
      • Liferay_home/osgi/war
      • Tomcat_home/work
      • Tomcat_home/temp
      • browser's cache

      2) Deploy the attached version of Classic Theme.
      3) Start Liferay and login as an Admin.
      4) Add a Web Content Display app to a page.
      5) Publish a new Web Content through the Web Content Display, in the "Content" text area, switch to HTML source editor and type:

      <p><button class="btn" type="button">
      <i class="fa fa-search">&nbsp;</i>
      </button></p>
      

      6) Publish and view the web content in the Web Content Display.

      Expected Result: A magnifying glass icon will show up in the Web Content. (See attached magnifying_glass_icon_result.PNG)

      Actual Result: An empty icon shows up in the Web Content. (See attached empty_icon_result.PNG)

        Attachments

        1. classic-theme.war
          3.44 MB
        2. empty_icon_result.PNG
          empty_icon_result.PNG
          7 kB
        3. Fixed.PNG
          Fixed.PNG
          19 kB
        4. Fixed70.PNG
          Fixed70.PNG
          3 kB
        5. magnifying_glass_icon_result.png
          magnifying_glass_icon_result.png
          6 kB
        6. my-liferay-theme.war
          2.84 MB

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              gregory.bretall Gregory Bretall (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP33
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master