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

liferay-ui:search-iterator generates an empty <tr> tag

    Details

    • Fix Priority:
      2

      Description

      Step to reproduce:

      1. Create a custom collection:
        • Site Administration > Site Builder > Page Fragments
        • Click Add button besides Collections > Type Name > Click Save
      2. Create a custom page fragment:
        • Fragments tab > Click Add button near search bar > Type Name > Click Save > Click Publish
      3. Create a new content page:
        • Site Builder > Pages > Click Add > Blank > Type Name > Click Save
      4. Add the new fragment to content page:
        • Click Fragments on the siderbar > Expand the created collection > Drag and drop the created fragment to the page
      5. Publish the content page.
      6. Navigate to View Usages page of the created fragment:
        • Site Administration > Site Builder > Page Fragments
        • Click kebab icon of the created fragment > Click View Usages
      7. Press F12 to browser console

      Expected Results:
      There should be only one <tr> tag.

      Actual Results:
      There are two <tr> tags. Looks like the following codes:

      <tr class=" " data-qa-id="row" data-selectable="true">...</tr>
      <tr class="lfr-template">...</tr>
      

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7. Portal master GIT ID: da7d5e9dde27ded48bb1b49e5e45f6b36effb8d0.
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.2.x-private GIT ID: 668347df626c9fa3ec4e90449379df5a22ca9ced.
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.2.10.1-SP1.
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.1.x-private GIT ID: 9598345ce295ef5e7fac53fb5b4f502dae512169.
      Tomcat 9.0.17 + MySQL 5.7. Portal 7.1.10.2-SP2 + FP14.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                19 weeks, 4 days ago

                Packages

                Version Package