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

Custom background colors in fragment sections are not preserved when upgrading to 7.3

    Details

      Description

      When using a theme with a custom color palette, background colors of fragment sections are not preserved when upgrading from 7.2 -> 7.3.

      For example when creating a theme with this setting in liferay-look-and-feel.xml:

      <setting configurable="true" key="color-palette" value="primary,primary-1,primary-2" />)

      Steps:

      1. Start a 7.2 portal
      2. Deploy the attached theme color theme (colortheme.war).
      3. Add a content page and configure the content page to use the attached theme
      4. Add a Layout element to page
      5. Click the body of Section
      6. Configure the background color of Section to be yellow
      7. Publish the page
      8. Shutdown the server
      9. Upgrade to 7.3
      10. Navigate to the page

      Expected Result:

      The upgraded fragment section has a background color of yellow

      Actual result:

      The upgraded fragment section has a white background and the inline styles of the associated container have an invalid color style: (background-color: primary-1)

        Attachments

        1. 2020-12-02_21-29.png
          2020-12-02_21-29.png
          10 kB
        2. 73-container.PNG
          73-container.PNG
          36 kB
        3. colortheme.war
          2.16 MB
        4. colortheme74.war
          2.16 MB
        5. master-container.PNG
          master-container.PNG
          49 kB

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            allen.ziegenfus Allen Ziegenfus
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Victor Galan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              18 weeks, 6 days ago

                Packages

                Version Package
                7.3.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                Master