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

Dynamic Data List form switches back to default language

Details

    Description

      Environment info:
      Liferay DXP 7.2, Fix Pack 4 and Hotfix 1134

      Reproduction steps:
      1. Create a dynamic data list definition with translations (attached)
      2. Create a dynamic data list and select the new data definition
      3. Put the dynamic data list portlet to a page and select the new list
      4. Set the DDL portlet in form mode (see configuration's screenshot)
      5. Add a language switcher portlet to the page
      6. Switch the language

      Expected behavior:
      The form is rendered in the current portal language, selected by the user.

      Actual behavior:
      The page is in German, but the form is in English (default language). The flag is wrong and the labels are in English. (See screenshot)
      If you change the language, the form shows up in the right language for a short time and then switch back to the default language. You can see it better if you reload the page and if you make a hard reload, the correct language is shown for the longest time. (See attached video)

      Also tested on:

      7.2x @05fcd5646a92c309a33f8acc83b86b09ce56a608: same issue
      Master @37c4d1d3f68b4f590f4174bc1e6c4bc515fe45af: same issue

      Attachments

        Issue Links

          Activity

            People

              harry.chai Harry Chai
              marcell.gyopos Marcell Gyöpös (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Marcell Gyöpös Marcell Gyöpös (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 33 weeks ago

                Packages

                  Version Package
                  7.1.10 DXP FP19
                  7.1.10.5 SP5
                  7.1.X
                  7.2.X
                  7.3.10 DXP GA1
                  Master