Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6492

Migration from 4.5 to 5.3 is failing due to ConvertMetaDataUpdateTask

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 5.3.12
    • core

      If a 4.5 project defines additional repository (shared for example) and a a custom node type that defines the MetaData child node as mandatory, the 5.0 core version handler task will failed.

      Reason:
      In CoreModuleVersionHandler

              register(DeltaBuilder.update("5.0", "")
      ...
                      .addTask(new RemoveMetaDataInNodeTypeDefinitionTask("Un register the metaData child node", "", RepositoryConstants.CONFIG))
                      .addTask(new ConvertMetaDataUpdateTask("Convert MetaData Task", "Remove the metaData sub node and replace them with mixIn when appropriate"))
      
      • RemoveMetaDataInNodeTypeDefinitionTask : will remove the MetaData child node definition for the main magnolia repository and not in the shared one.
      • ConvertMetaDataUpdateTask: will remove the child MetaData node and set properties to the parent node, but for all the repositories.

        Acceptance criteria

              Unassigned Unassigned
              ehechinger Eric Hechinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD