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

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.0
    • 4.0-rc-1
    • Annotations
    • None
    • Unknown

    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

        1. 272_10_Annotations.png
          46 kB
          Sorin Burjan
        2. 272_comments_and_replies.png
          52 kB
          Sorin Burjan
        3. 272To40AfterMigration.png
          284 kB
          Sorin Burjan
        4. Main.XWIKI-7745.xar
          5 kB
          Eduard Moraru

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: