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

Look and Feel custom CSS load discrepancy with senna

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, Master
    • Fix Version/s: None
    • Labels:
    • Story Points:
      0.25
    • Fix Priority:
      2

      Description

      Make sure to clear cache / reload.

      Steps to Reproduce:
      1. Add a page named "test"
      2. Configure "test" from gear button in top right > Look And Feel
      3. Select "Define a specific look and feel for this page." and paste CSS

      .product-menu {
        background-color: red; }
      

      1. On another page (Welcome page) add 2 Web Contents
      Title:ON
      Content(code view):

      <p><a href="/web/guest/test">senna on</a></p>

      Title:OFF
      Content(code view):

      <p><a data-senna-off="true" href="/web/guest/test">senna off</a></p>

      2. Click each link to visit the page and open the product menu.

      Expected result:
      Both give the same result. I'm thinking the product menu should be red but unsure.

      Actual result
      Visiting using senna displays the product menu red
      Visiting without senna displays the unaffected product menu

      Reproduced:
      Master : Reproduced 660158104f746c81f1db4246e5017ec1220331ce
      71x : Reproduced da109661fc44f7da99ce793750abfb1ccbe6532b
      70x : Reproduced 4b58a2f1821a791c69a3f6123487527e8e76cfd9

        Attachments

        1. senna_on.png
          senna_on.png
          21 kB
        2. senna_off.png
          senna_off.png
          51 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  15 weeks, 1 day ago

                  Packages

                  Version Package