Affects Version/s: 7.0.0 DXP FP23, 7.0.0 DXP FP38, 7.0.X
Fix Version/s: None
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
- Set up a Liferay DXP + DE-24 environment
- Add discussion.comments.delta.value=2 to portal-ext.properties
- Start the server
- Place Page Comment Portlet in a page
- Add four comments
- 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
The More Comments button should not be present after the last comment.
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.
Liferay DXP + DE-24
Unable to test in
master: 61cc851371ad797d2e4f71e5dcd6fe841e6418e9 - Load comments button does not result in any additional comments