Details
-
Bug
-
Resolution: Fixed
-
Critical
-
0.5
Description
Example of use case :
- documents 'externalisation du SI.CMS_IAAS' and 'POLE PRODUCTION.CMS_IAAS' existing in the wiki, both having 'POLE PRODUCTION.Externalisation _DSI_Production' as parent
This is the error raised while computing the plan :
ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #printPlan called at 741:dsi:NestedPagesMigration.Service[line 8, column 1] org.xwiki.contrib.nestedpagesmigrator.MigrationException: An action with target [dsi:POLE PRODUCTION.Externalisation _DSI_Production.CMS_IAAS.WebHome] already exists. at org.xwiki.contrib.nestedpagesmigrator.MigrationPlanTree.addAction(MigrationPlanTree.java:58) at org.xwiki.contrib.nestedpagesmigrator.MigrationAction.createInstance(MigrationAction.java:122) at org.xwiki.contrib.nestedpagesmigrator.internal.pages.PagesMigrationPlanCreator.createActionForTerminalDocument(PagesMigrationPlanCreator.java:348) at org.xwiki.contrib.nestedpagesmigrator.internal.pages.PagesMigrationPlanCreator.createAction(PagesMigrationPlanCreator.java:291) at org.xwiki.contrib.nestedpagesmigrator.internal.pages.PagesMigrationPlanCreator.convertDocumentAndParents(PagesMigrationPlanCreator.java:234) at org.xwiki.contrib.nestedpagesmigrator.internal.pages.PagesMigrationPlanCreator.computeMigrationPlan(PagesMigrationPlanCreator.java:127) at org.xwiki.contrib.nestedpagesmigrator.internal.job.MigrationPlanCreatorJob.runInternal(MigrationPlanCreatorJob.java:76) at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205) at org.xwiki.job.AbstractJob.run(AbstractJob.java:188) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)