-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
5.5.6, 5.5.7, 5.5.8, 5.6, 5.6.1
-
None
During Weblaw migration, we got an issue Task 'Migrate version workspace' failed caused by The move operation was not completed due to an item with the same name already present. The issue was fixed by https://jira.magnolia-cms.com/browse/MAGNOLIA-7006.
It seems to me that there is a wrong task order as the MigrateVersionWorkspacesToNewStructureTask (5.5.0) was run BEFORE the RenameVersionNodesTask (5.5.4).
But the MigrateVersionWorkspacesToNewStructureTask should run AFTER the RenameVersionNodesTask
CoreModuleVersionHandler class
register(DeltaBuilder.update("5.5", "") .addTask(new MigrateVersionWorkspacesToNewStructureTask(repositoryManager)) .addTasks(getLockableMixinAdditionTasksForAllWorkspaces()) .addTask(new NodeExistsDelegateTask("Add korean language into system languages", "/server/i18n/system/ko", null, new BootstrapSingleModuleResource("", "", "config.server.i18n.system.xml", "/system/languages/ko"))) ); register(DeltaBuilder.update("5.5.4", "") .addTask(new BootstrapSingleModuleResource("Add mime mapping for YAML", "Add mime mapping for YAML", "config.server.MIMEMapping.xml", "/MIMEMapping/x-yaml")) .addTask(new RenameVersionNodesTask(repositoryManager)) );
Acceptance criteria
- relates to
-
MAGNOLIA-7006 same name siblings issue in MigrateVersionWorkspacesToNewStructureTask and in CopyUtil
- Closed