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

Generate duplicate <tr> tag in View Usages page

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.10 DXP FP14, 7.1.X, 7.2.10.1 DXP SP1, 7.2.X, Master
    • Fix Version/s: None
    • Component/s: WCM
    • Labels:
    • 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

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Brian Wulbern
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                4 weeks ago

                Packages

                Version Package