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

Many "Failed to resolve document reference" warnings when upgrading XWiki on Oracle

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 15.5.4, 15.9, 14.10.19
    • 14.10.17, 15.8, 15.5.3
    • Index, Old Core
    • Environment: Windows 11 Pro, Edge 118, using a local instance of XWiki 14.10.17, 15.5.3 and 15.8 on Oracle 19c, Tomcat 9.0.82
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce

      1. Create an older instance of XWiki (tested with XWiki 13.4.7) on Oracle (tested with Oracle 19c)
      2. Close the instance
      3. Go to the instance's folder and replace the WAR with the new one (from XWiki 14.10.17, 15.5.3 or 15.8)
      4. Start the instance
      5. After the server starts, access the instance in browser
      6. Observe the XWiki console

      Expected results

      No warnings/errors are displayed.

      Actual results

      When the migration is undergoing, there are many warnings related to failing to resolve document reference. Partial stacktrace:

      2023-10-23 18:27:22,291 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.XWikiSkins] with locale [null]
      2023-10-23 18:27:22,291 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.XWikiRights] with locale [null]
      2023-10-23 18:27:22,292 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.WikiMacroParameterClass] with locale [null]
      2023-10-23 18:27:22,292 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.Notifications.Code.NotificationEmailRendererClass] with locale [null]
      2023-10-23 18:27:22,292 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.GlobalRedirect] with locale [null]
      2023-10-23 18:27:22,293 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [Mail.MailConfig] with locale [null]
      2023-10-23 18:27:22,293 [XWiki initialization] WARN  0300000XWIKI19614DataMigration - Failed to resolve document reference [XWiki.EditModeClass] with locale [null]

      Please find attached the full logs from upgrade of XWiki 13.4.7 to 15.5.3 on Tomcat 9.0.82.

      The Distribution Wizard is reached and completed, however.

      The issue was reproduced only on Oracle 19c (on Jetty and on Tomcat, tested also on PostgreSQL 16, MariaDB 11.1, MySQL 8.1 and HSQL 2.7.2) and it reproduces when upgrading to XWiki 14.10.17, 15.5.3 and 15.8, but not reproducing when upgrading to XWiki 14.10.16, 15.5.2 or 15.7.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: