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

Migration of Annotations and Comments to 4.0 breaks page consistency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.0-rc-1
    • Fix Version/s: 4.0
    • Component/s: Annotations
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      • download a 2.7.2 hsqldb+jetty and start it
      • create a page, let's say AnnotationsMigrationTest
      • add a chunk of text on that page
      • create 10 annotations on the text
      • add 10 comments on the page (see images attached)
      • to each of the 10 comments, add a reply (see images attached)
      • gracefully shutdown the 2.7.2 instance
      • download latest 4.0 hsqldb+jetty
      • copy the database directory content from 2.7.2 and overwrite it over the 4.0 database directory
      • start the 4.0 snapshot
      • import the 4.0 snapshot xar

      Problem:

      • go the page created previously, you will see that the replies to comment have become replies to annotations

      Image attached

        Attachments

          Activity

            People

            Assignee:
            enygma Eduard Moraru
            Reporter:
            sorinello Sorin Burjan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: