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

Provide helper to make easier to migrate classes in mandatory documents

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4.4
    • Fix Version/s: 9.0-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      One issue with the mandatory class migration is that it's a pain sometime to update a field that has been modified.

      The idea is to reuse merge tools and instead of updating current class, create a clean one and use BaseClass#apply which will make sure the class is right. No need for initializer to care any more if they changed something or not, they just create a clean class.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: