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

Error while migrating SearchSuggestConfig page from 4.1.4 to 5.2.1 with DW

    Details

    • Tests:
      Unit
    • Development Priority:
      High
    • Difficulty:
      Hard
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • Setup a XEM 4.1.4 (I used Tomcat + MySQL)
      • Manually import the manager-ui-all XAR
      • shutdown the wiki and replace the war with a XE 5.2.1
      • startup
      • DW kicks in. Select "This is an upgrade" and then select 4.1.4 from the dropdown
      • Click on "Repair"
      • While upgrading, you'll briefly see an error (with red color)
            Importing document [SearchSuggestConfig] in language []...
            Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.xpn.xwiki.objects.LargeStringProperty#<?xml version="1.0" encoding="UTF-8"?> <query>filename:__INPUT__* AND type:attachment</query> ]
            Failed to import document [SearchSuggestConfig] in language []
        

      Same behaviour when upgrading to 5.3 M2 also

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              sorinello Sorin Burjan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: