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

Structure field selection modal in Asset Publisher ignores current display language

Details

    Description

      Steps to reproduce

      1. Create an structure S1 with a text field
      2. Create a translation in Spanish for S1
      3. Set the field label differently in each language (e.g. "Text in English" for locale en-US and "Texto en Español" for locale es-ES)
      4. Change your preferred language to Spanish so that the page is shown in Spanish
      5. Add an Asset Publisher AP1 to a page
      6. Go to AP1 configurations > Asset Selection tab > open Origen (Source) accordion
      7. Choose Artículo de contenido web como Tipo de contenido
      8. Choose S1 como Artículo de contenido web Estructuras
      9. Enable Filtrar por campo
      10. Click on Seleccionar

      Expected behavior

      The field label should be shown in Spanish as the rest of the UI

      Current behavior

      The field label is shown in English

      Reproduced on

      Master @ bea5332484120cb5457812ae576533d3bd0cd623
      7.3.x @ df892f7f367e483ce903de507522c20e57922789

      Additional notes

      The field is being rendered correctly at first but then the Javascript changes its title to another language.

      Attachments

        Issue Links

          Activity

            People

              chao.wang Chao Wang
              cleydyr.albuquerque Cleydyr Albuquerque (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Cleydyr Albuquerque Cleydyr Albuquerque (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                34 weeks, 6 days ago

                Packages

                  Version Package
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  7.4.3.5 CE GA5
                  7.4.13 DXP U1
                  Master