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

Field set by a mandatory document initializer can be reseted when installing a XAR containing the same document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.8, 12.6.3, 11.10.11
    • 11.10.10
    • Extension
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      That's because in that case EM does a merge with the standard initialized document as previous version, the database version as current and the version from the XAR (which might not contain the changes made by the initializer) as new version.

      The initializer should be applied on the new version before merging.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: