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

When upgrading from 3.0 to 3.1RC1, importing the XWiki.WysiwygEditorConfig document fails

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1 RC1
    • Fix Version/s: 3.1, 3.2 M1
    • Component/s: Old Core, Storage
    • Labels:
      None
    • Difficulty:
      Medium
    • Similar issues:

      Description

      This happens because the menuBar property was changed from StringProperty to TextAreaProperty. Whenever object properties change their type, Hibernate complains about having duplicate entities with the same ID, and saving the document fails.

      This problem was partially fixed for different number types (XWIKI-2214) and different list property settings (XWIKI-1621), but a generic solution which accepts conversion between any types of properties would be safer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                sdumitriu Sergiu Dumitriu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: