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

DDM structures with Select or Radio lose data when translations are added

    Details

      Description

      Steps to reproduce:

      1. Add a DDMStructure (Dynamic Data Lists > Manage Data Definitions)
      2. Add Select or Radio fields
      3. Save it with just default language. Everything is fine
      4. Add a second language and edit it.
      5. Edit the Select or Radio options to localize its values: change both options' name and value.
      6. Options are changed for the new language, but values are emptied for default the rest of the languages. The resulting JSON is like this (notice empty labels before editing es_ES language)
        "options": [
                        {
                            "value": "value 1 es",
                            "label": {
                                "ca_ES": "",
                                "en_US": "",
                                "es_ES": "opción A"
                            }
                        },
        

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          68 kB
        2. Fixed2.PNG
          Fixed2.PNG
          70 kB
        3. Reproduced.PNG
          Reproduced.PNG
          72 kB

          Activity

            People

            Assignee:
            harry.chai Harry Chai
            Reporter:
            jose.navarro José Manuel Navarro (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 Beta 8