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

#p_p_id portlet references in custom css are 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 > Portlet Configuration and in the "Show Borders" selector, select "No"
      4. Refresh the current page
      5. For each portlet, go to its Look and Feel > Advanced Styling and make use of the Portlet ID's reference for CSS. You can click on "Add a CSS rule for just this portlet." to add
        • For example, for the Web Content Display it would read something like: #p_p_id_56_INSTANCE_Y3IiwK51r0YH
        • It could be used like
          #p_p_id_56_INSTANCE_Y3IiwK51r0YH {
              color: red
          }
          
      6. 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.
      7. 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

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Engineering Assignee:
              Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                39 weeks, 3 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP11
                  7.2.10.4 DXP SP4
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  Master