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

Cannot submit Dynamic Data List with a required field in a non-default language

    Details

      Description

      Steps to reproduce:

      1. Log in as Admin
      2. Go to Content > Dynamic Data Lists > Manage Data Definitions
      3. Add a new data definition
      4. Add any field, make it required then save the definition
      5. Add a translation to the definition (eg. German)
      6. Create a Dynamic Data List based on this definition
      7. Go to the main site, place a Dynamic Data Lists Display portlet on the page
      8. Select the Dynamic Data List you created in step 6
      9. Go into the portlet's Configuration menu > Optional Configuration tab and select Form view
      10. Submit the list in English - it works as expected
      11. Switch the site's language to German
      12. Submit the list again

      Actual result: There is no success (or failure) message on the UI. In the console you get an error:
      2020-06-05 13:03:48.733 ERROR [http-nio-8080-exec-8][PortletServlet:119] javax.portlet.PortletException: com.liferay.dynamic.data.mapping.validator.DDMFormValuesValidationException$RequiredValue: No value defined for field name TextEN
      javax.portlet.PortletException: com.liferay.dynamic.data.mapping.validator.DDMFormValuesValidationException$RequiredValue: No value defined for field name TextEN

      Expected result: The list can be submitted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              harry.chai Harry Chai
              Reporter:
              marcell.gyopos Marcell Gyöpös
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
              Engineering Assignee:
              Marcell Gyöpös
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                36 weeks, 5 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP20
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.3 CE GA4
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  Master