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

As a user, while editing a fragment I would like to see an error for invalid Configuration JSON before saving.

    Details

    • Type: Feature Request
    • Status: Gathering Interest
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      When editing a fragment in with the fragments editor, if you make a change to the configuration.json that causes it to be invalid, you will end up with freemarker errors, since the configuration object is not being properly created. If you try to publish the fragment in this state, you will then see an error: Please provide a valid configuration for the fragment. This error is much more helpful, but will only be seen if you try to publish.

      I think it would be helpful to display this error before publishing since this error does a better job of pointing towards the root issue. 

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            evan.thibodeau Evan Thibodeau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package