This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9b0e4636-7ee3-4169-b0e9-dada1fb53e13 XWIKI-23962 Open

Like display for an unliked page is wrong if the current user cannot like it

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-463fc997-92e9-4ecf-82ec-6f743a67c8a2 Anca Luca created this issue on 29/Jan/26 19:43
 
Summary: Like display for an unliked page is wrong if the current user cannot like it
Issue Type: cid:jira-generated-image-avatar-9b0e4636-7ee3-4169-b0e9-dada1fb53e13 Bug
Affects Versions: 17.10.2
Assignee: Unassigned
Attachments: image-2026-01-29-19-42-14-215.png, image-2026-01-29-19-42-45-569.png, image-2026-01-29-19-43-18-341.png, image-2026-01-29-19-43-36-708.png
Components: Like
Created: 29/Jan/26 19:43
Priority: cid:jira-generated-image-static-major-508526af-60f0-4273-a099-04d47cde3118 Major
Reporter: Anca Luca
Description:

How to reproduce:

  • make sure the guest user doesn't have like rights on your wiki, but can view at least one page
  • with guest, navigate to a page that hasn't yet been liked

Expected result:

  • the like display at the bottom of the content should display an empty heart with "0 Likes" next to it
  • this is what is displayed for users that have the right to like that page
    _thumb_44549.png

Actual result

  • the display shows a full heart with the text 0 Likes, disabled.
    _thumb_44550.png
  • the full heart display correspond to the display of the page after it has been liked at least once (disabled for users that don't have the right to like and enabled for users that can like)
    _thumb_44547.png
    _thumb_44548.png
 
 

1 update

 
cid:jira-generated-image-avatar-463fc997-92e9-4ecf-82ec-6f743a67c8a2 Changes by Anca Luca on 29/Jan/26 19:44
 
Priority: Major Minor