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

R40001XWIKI7540DataMigration is skipped unintentionally

    XMLWordPrintable

Details

    • Unknown
    • N/A

    Description

      The skipping of the migration done in XWIKI-8036 was not implemented in the right place. It seems that the shouldExecute() method is not able to properly read the database (to read pages and objects) because it is executed before any of the migrations are executed.

      To fix this, the code that checks the annotation and comments class needs to be executed inside the migration itself. This makes sure that all the previous migrations are executed and that the database is in a readable state, at least for the current code.

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: