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

Expected default value for the colorPalette fragment configuration field doesn't work

    Details

      Description

      The expected default value for the "colorPalette" fragment configuration field doesn't work.

      Steps to reproduce:

      1. Create a Page Fragment with the configuration attached (see index.json) (note: defaultValue format comes from the http://issues.liferay.com/browse/LPS-99179 description) 
      2. Create a content page
      3. Add fragment from step (1) to the content page
      4. Click on the configuration cog icon

      Expected result: No errors, user can choose a color

      Actual result: Following error appears in browser console:

      Error: Invalid state passed to 'field.defaultValue'. Expected type 'string', but received type 'object'. Passed to 'ConnectedComponent'. 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                Master