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

DDL entries search only displays entries submitted with the same current display language

    Details

      Description

      Steps to Reproduce

      1. Create a new Data Definition named "Test Data" under Panel > Dynamic Data List > [⋮] > Manage Data Definitions;
      2. Add 2 Text Fields named "Name" and "Surname";
      3. Add a Spanish Translation to "Test Data";
      4. Rename the Spanish field labels to "Nombre" and "Apellido";
      5. Save the Data Definition;
      6. Create a new Dynamic Data List using "Test Data" as it's Data Definition;
      7. Open the Data List, select the English version and enter the following data:
        • Name: John - Surname: Doe - Publish
        • Name: Jane - Surname: Doe - Publish
      8. Open the Data List, select the Spanish version and enter the following data:
        • Nombre: Juan - Apellido: Doe - Publicar
        • Nombre: Juana - Apellido: Doe - Publicar
      9. Go back to the Data List Entries;
      10. Search for "Doe";
      11. Change the current URL to the Spanish version, adding "/es" right after the port number ("8080");
      12. Search for "Doe" again.

      Expected Results

      All results for the search query "Doe" are shown on the View Entries form page.

      Actual Results

      Only the results entered in the same language as the current portal's display language are shown, e.g:

      • John and Jane are only shown if the display language is English. They are not shown in the search results is the display language is Spanish.
      • Juan and Juana are only shown if the display language is Spanish. They are not shown in the search results is the display language is English.

      Reproduced On

      DXP 7.2 + fixpack dxp-1-7210

      Master Commit: 6e20a5278bbeecf3b3604b449e7110ecb76b7cca
      Base Branch Commit: cf2eefa2ca28de7f7f3fa4b8fe48043ba95b9643
      Updated on: Wed Sep 25 10:42:35 2019 -0700

        Attachments

          Activity

            People

            • Assignee:
              harry.chai Harry Chai
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Lino Alves
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 weeks, 2 days ago

                Packages

                Version Package
                7.2.X
                7.2.1 CE GA2
                Master