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

If latest migration(s) should not execute, access to the database will be refused if migration are disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.5-milestone-1
    • 3.4
    • Storage
    • None
    • Trivial

    Description

      If the latest data migrations return false to the shouldExecute() request, these are not considered during the migration process, and therefore, the latest version store in the database is not the expected latest version. This will prevent access to this database when migration are later disabled.

      This patch force the version of the database to the lastest version if needed. This is the same behavior than when a later migration set the database to its own version, and the previous one(s) should not execute.

      Attachments

        Activity

          People

            softec Denis Gervalle
            softec Denis Gervalle
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: