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

Portlet ID references in custom css not upgraded from 6.2

    Details

      Description

      Reproducing steps

      1. Start up a Liferay 6.2.
      2. Add several portlets to a page.
      3. For each portlet, go to its Look and Feel > Advanced Styling and make use of the Portlet ID's reference for CSS.
        • For example, for the Web Content Display it would read something like: #portlet_56_INSTANCE_Y3IiwK51r0YH
        • It could be used like
          #portlet_56_INSTANCE_Y3IiwK51r0YH {
              background-color: red
          }
          
      4. Upgrade from 6.2 to a higher version.
        • In this upgrade there's a step changing the portlet name's from numbers to fully qualified names. For example: 56 will become com_liferay_journal_content_web_portlet_JournalContentPortlet.
      5. Start up the upgraded installation
        Expected: The portlets have the same styles as before. (In particular, the Web Content Display with a red background color is still red.)
        Observed: The portlets have lost the previous style.

        Attachments

        1. 7.2.x.png
          7.2.x.png
          558 kB
        2. master.png
          master.png
          625 kB

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              ricardo.couso Ricardo Couso
              Participants of an Issue:
              Recent user:
              Jorge Diaz
              Engineering Assignee:
              Ricardo Couso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 5 weeks, 3 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP8
                  7.2.10.3 DXP SP3
                  7.2.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master