PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32581

When changing a theme for a layout set the color scheme selection propagates inconsistently into DB

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      4
    • Where was the bug?:
      JSP
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      1. Change the theme of the guest site to the classic theme with orange color scheme
      2. Add a second theme with 2 color schemes
      3. Select the second theme and click save
      4. Check the database and note that the LayoutSet now has the new theme in the themeId, but the colorSchemeId is still set to 03, instead of the expected 01 (or 02 if that was the default-cs)

        Issue Links

          Activity

          Hide
          Yang Gao (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 2c7dd6ffdb21a37528caea69000515eef5df8cd9.

          When check the database and note that the LayoutSet now has the new theme in the themeId, but the colorSchemeId is still set to 03.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1aad32dd99da0dd37b4e6a93fc59044dfd3cb6b7.

          When check the database and note that the LayoutSet now has the new theme in the themeId, the colorSchemeId is set to 01.

          Show
          Yang Gao (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 2c7dd6ffdb21a37528caea69000515eef5df8cd9. When check the database and note that the LayoutSet now has the new theme in the themeId, but the colorSchemeId is still set to 03. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1aad32dd99da0dd37b4e6a93fc59044dfd3cb6b7. When check the database and note that the LayoutSet now has the new theme in the themeId, the colorSchemeId is set to 01.
          Hide
          Yang Gao (Inactive) added a comment - - edited

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 92f5106b17b2cd8d55438d2194b85104125d4e22.

          When check the database and note that the LayoutSet now has the new theme in the themeId, the colorSchemeId is set to 01.

          Show
          Yang Gao (Inactive) added a comment - - edited PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 92f5106b17b2cd8d55438d2194b85104125d4e22. When check the database and note that the LayoutSet now has the new theme in the themeId, the colorSchemeId is set to 01.

            People

            • Assignee:
              Yang Gao (Inactive)
              Reporter:
              Vilmos Papp
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 21 weeks, 2 days ago

                Development

                  Structure Helper Panel