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

Clicking on "More Comments" button after the last comment results in the last comment being displayed twice

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0 DXP FP23, 7.0.0 DXP FP38, 7.0.X
    • Fix Version/s: None
    • Component/s: Comments

      Description

      Summary
      Clicking on "More Comments" button after the last comment results in the last comment being displayed twice. It seems that the More Comments button should not appear if the last comment has been displayed.

      Steps to Reproduce

      1. Set up a Liferay DXP + DE-24 environment
      2. Add discussion.comments.delta.value=2 to portal-ext.properties
      3. Start the server
      4. Place Page Comment Portlet in a page
      5. Add four comments
      6. In the comment list, click the "More Comments" button once, then twice, then after the fourth comment is displayed, click the "More Comments" button again

      Expected Result
      The More Comments button should not be present after the last comment.

      Actual Result
      The More Comment button is displayed after the last comment, and clicking on the button after the last comment is displayed results in a duplicate last comment.

      Reproduced in
      Liferay DXP + DE-24
      branch: e18a09ffdcc438ae7cb795a26ef3f5d977e33aef

      Unable to test in
      master: 61cc851371ad797d2e4f71e5dcd6fe841e6418e9 - Load comments button does not result in any additional comments

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              istvan.dezsi Istvan Dezsi
              Reporter:
              brian.suh Brian Suh
              Participants of an Issue:
              Recent user:
              Istvan Dezsi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 50 weeks ago

                  Packages

                  Version Package