Details

      Description

      This is how the current config looks like:

      {
         "com.liferay.fragment.entry.processor.editable.EditableFragmentEntryProcessor": {
            "editable-fragment-id": {
               "defaultValue": "Livingstone Hotels and Resorts",
               "language" {
                  "pt_BR": "Portuguese variation",
                  "es_ES": "Spanish variation",
                  "en_US": "English Variation"
               }
            }
         }
      }
      

      This is how the config will look like:

      {
        "com.liferay.fragment.entry.processor.editable.EditableFragmentEntryProcessor": {
          "editable-fragment-id": {
            "defaultValue": "Livingstone Hotels and Resorts",
            "default": {       
              "pt_BR": "Portuguese variation",
              "es_ES": "Spanish variation",
              "en_US": "English Variation"
            },
            "segment-id-1": {
              "pt_BR": "Portuguese variation segment-id-1",
              "es_ES": "Spanish variation segment-id-1",
              "en_US": "English Variation segment-id-1"
            }
          }
        }
      }
      

       

      For this task, as there's no configuration for segments yet, only the "default" will be filled. There must be tests to validate that the values are properly retrieved with both the old structure and the new structure.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 35 weeks, 2 days ago

                  Packages

                  Version Package
                  Master