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

Color Scheme selection doesn't handle the device when it should use the default Color Scheme

    Details

    • Story Points:
      3
    • Similar Issues:
      Show 5 results 

      Description

      When changing themes, in that case when wap theme has no color schemes the regular device's default color scheme id will be propagated into the DB even though a default value is specified for the wap themes.

      Steps to reproduce:

      1. Set the following properties in portal-ext.properties:
        default.regular.color.scheme.id=03
        default.wap.color.scheme.id=04
        
      2. Deploy a new theme where the wap theme has no color schemes defined
      3. Select the new theme for a Site and save it
      4. Verify layoutset table in the DB

      Expected behaviour: in the wapColorSchemeId column the value should be 04
      Actual behaviour: in the wapColorSchemeId column the value is 03

        Issue Links

          Activity

          Hide
          Mark Jin 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: 644eeb9b563fffaae88a1e967a588f298ebfbbd2.
          Plugins 6.2.x EE GIT ID: 6c5284d4276deef22185f497c70c3bce1b6c10cb.

          In the wapColorSchemeId column the value is 03

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 432f440a48b53e789ebd972ab2279f21b25a24a3.
          Plugins 6.2.x EE GIT ID: f900e0039741c48d8c9a8009ab7469e83377e1d4.

          In the wapColorSchemeId column the value is 04

          Show
          Mark Jin 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: 644eeb9b563fffaae88a1e967a588f298ebfbbd2. Plugins 6.2.x EE GIT ID: 6c5284d4276deef22185f497c70c3bce1b6c10cb. In the wapColorSchemeId column the value is 03 Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 432f440a48b53e789ebd972ab2279f21b25a24a3. Plugins 6.2.x EE GIT ID: f900e0039741c48d8c9a8009ab7469e83377e1d4. In the wapColorSchemeId column the value is 04

            People

            • Assignee:
              Mark Jin
              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, 11 weeks, 6 days ago

                Development

                  Structure Helper Panel