This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-22f2c8ab-d150-4324-8dcf-33e972c33c8e XWIKI-24340 Open

Annotations cannot be added one after another on the same line anymore in some conditions

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-38bfb192-de61-4d67-b232-1bf061a6c030 Ilie Andriuta created this issue on 12/May/26 17:06
 
Summary: Annotations cannot be added one after another on the same line anymore in some conditions
Issue Type: cid:jira-generated-image-avatar-22f2c8ab-d150-4324-8dcf-33e972c33c8e Bug
Affects Versions: 18.0.0
Assignee: Unassigned
Attachments: Cannot_add_more_annotations1.mp4, Cannot_add_more_annotations2.mp4
Components: Annotations
Created: 12/May/26 17:06
Environment: Windows 11 Pro, Firefox 150, using an instance of XWiki 18.0.0 on MySQL 9.7, Tomcat 11.0.22
Priority: cid:jira-generated-image-static-blocker-c17ce958-ac26-45d4-86ed-5d7a8e4fbc92 Blocker
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Go to Sandbox.WebHome
  2. Go to a line that has multiple words with punctuation between them (like commas or periods)
  3. Select a word that has punctuation right next to it (before or after)
  4. Press CTRL+M, add some annotation text
  5. Click 'Add annotation'
  6. Select another word on the same line that has punctuation next to it
  7. Press CTRL+M, add some annotation text as well
  8. Click 'Add annotation'

Expected results

All annotation are added.

Actual results

The success message that the annotation was added is displayed for the second word, but the word does not appear to be annotated - is not highlighted even after page refresh and enabling Annotations again, and if the word is clicked from the Comment section, the anchor does not work.

From what I could see, it's related to the punctuation located right next to the annotated word.

Reproduced as well on XWiki 18.3.0, but could not be reproduced on XWiki 17.10.8.

 
 

2 updates

 
cid:jira-generated-image-avatar-38bfb192-de61-4d67-b232-1bf061a6c030 Changes by Ilie Andriuta on 12/May/26 17:06
 
Fix Version: 18.4.0-rc-1
Labels: regression