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:
- Set the following properties in portal-ext.properties:
- Deploy a new theme where the wap theme has no color schemes defined
- Select the new theme for a Site and save it
- 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