Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24335

Annotations need page refresh to complete actions after editing the page in-place

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 18.0.0, 17.10.8
    • Annotations
    • None
    • Windows 11 Pro, Firefox 150, using an instance of XWiki 18.0.0 on MySQL 9.7, Tomcat 11.0.22
    • Unknown

    Description

      Steps to reproduce

      1. Go to a page with text content (e.g. Sandbox)
      2. Select a word
      3. Press CTRL+M, add some annotation text
      4. Click 'Add annotation'
      5. Click 'Edit' button to edit the page in-place
      6. Edit/add some more letters inside the previously annotated word
      7. Click 'Done'
      8. Click 'More Actions' > 'Annotate'
      9. Observe the state of 'Show annotations' checkbox from the top of the page
      10. Click on the checkbox to turn annotations on/off

      Expected results

      The 'Show annotations' checkbox from the top of the page is not checked.

      When clicking to tick it, the annotations are displayed on the page (annotated words are highlighted).

      Actual results

      The 'Show annotations' checkbox from the top of the page is checked. Clicking on it to tick/ un-tick it does nothing.

      The same happens if, at this point, the annotated word from the Comments tab is clicked (the anchor does not work), until the page is refreshed.

      The issue does not reproduce if the page is edited in WYSIWYG or Wiki mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: