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

Annotation assigned to wrong instance of text, when same text appears several times in page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.6.2, 10.4
    • Annotations
    • None
    • Ubuntu
    • Unknown

    Description

      When you annotate the same sequence of characters, which appear more than once in a page, the annotation is assigned to the first instance of that sequence, rather than to the correct instance of the sequence.

      The problem showed itself in a table, where one column often contains the same text for more than one row, but one would need to annotate the same text in each row separately

      Reproduction steps

      1. Create a page
      2. Enter the content abcd twice in two different lines
      3. Select "bc" on the second line and annotate
      4. reload and show the annotations

      Expected

      The second "bc" is annotated

      Actual

      The first "bc" is annotated

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pigopl Tim Jones
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: