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

CSS replacement tokens aren't replaced in portlet css

    Details

      Description

      To reproduce:

      1. Navigate to Site Admin -> Documents and Media
      2. Drag a document into the page to upload.

      Expected result:
      There is a green success icon on the new document item.

      Actual result:
      There is no success icon, and there is a 404 error:

      Failed to load resource: http://localhost:8080/o/comliferaymessageboardsweb/message_boards/css/@theme_image_path@/message_boards/quoteleft.png the server responded with a status of 404 (Not Found)

      Notice the '@theme_image_path@' token in the URL.

      This token IS being replaced correctly for all css in frontend-css-web and frontend-themes-web. This issue is only happening for portlet CSS.

      The issue can also be reproduced in Message Boards with the 'quote' icons.

        Attachments

        1. fixed.PNG
          fixed.PNG
          40 kB
        2. LPS-58741.webm
          5.69 MB
        3. Selection_001.png
          Selection_001.png
          128 kB

          Activity

            People

            • Assignee:
              ian.song Ian Song (Inactive)
              Reporter:
              michael.bradford Michael Bradford (Inactive)
              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, 46 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 Alpha 1