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

Repeatable configuration fields are not correctly saved in JS portlets

    Details

      Description

      Steps to reproduce:

      1. Deploy attached JAR
      2. Add deployed portlet to a page
      3. Open portlet configuration dialog
      4. Create two or more values for the drink field
      5. Save
      6. Open category.vanilla-portlet-es5-l10n-cfg-sample configuration under section Other
      7. Configure two or more values for the fruit field
      8. Save
      9. Refresh deployed portlet

      Expected results:

      1. After 5, entered values are saved
      2. After 9, deployed portlet shows something like: {{"system": { "fruit": [ "orange", "pear" ] }}}

      Actual results:

      1. After 5, only one of the values is saved
      2. After 9, deployed portlet shows something like: {{"system": { "fruit": "[orange, pear]" }}}

        Attachments

          Activity

            People

            Assignee:
            ivan.zaera Ivan Zaera
            Reporter:
            ivan.zaera Ivan Zaera
            Participants of an Issue:
            Recent user:
            Brian Chan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 35 weeks, 5 days ago

                Packages

                Version Package
                7.1.X
                Master