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

Possible failing migration to 10.11.x from pre 10.1 with long document reference containing a lot of upper case characters

    XMLWordPrintable

Details

    • Unknown

    Description

      See https://forum.xwiki.org/t/upgrade-xwiki-9-11-4-to-10-11-1-issues-database-upgrade-failed-due-to-migration-because-store-attachment-hint-file-cause for an example.

      The reason is that in 10.1 (XWIKI-14758) we decided to encode upper case characters to support case insensitive systems (like Windows). Since encoded characters take more space than non encoded you can end up with a folder that cannot be migrated because it's too long for the system now.

      XWiki 11 have a completely different path format which is not affected by size issues like this but the 10.1 migrated is still executed (because other migrations rely on it). Will need to refactor migration to not hit this issue during 11 migration and maybe think of what we can do for 10.11.x branch.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: