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

When fragment validation fails, please provide information as to which fragment had an invalid configuration

    Details

    • Type: Feature Request
    • Status: Aligned with Roadmap
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WCM > Fragments
    • Priority Level:
      Low

      Description

      We are adding custom fragments through a collection contributor. If the fragmetns have invalid configurations, we receive an error on Liferay startup (see below)

      It would be more helpful if more details were provided as to which fragment failed validation.

      2019-11-08 18:24:45.480 ERROR [Portal Dependency Manager Component Executor--1][FragmentCollectionContributorTrackerImpl:235] Unable to validate fragment entry
      com.liferay.fragment.exception.FragmentEntryConfigurationException: /fieldSets/0/fields/1/defaultValue: yes is not a valid enum value_/fieldSets/0/fields/2/defaultValue: yes is not a valid enum value_/fieldSets/0/fields/3/defaultValue: yes is not a valid enum value [Sanitized]
      
      

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              allen.ziegenfus Allen Ziegenfus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package