xwiki-attic / application-confluence-migrator

Migrates content from Confluence to XWiki
GNU Lesser General Public License v2.1
3 stars 7 forks source link

Confluence migration fails from subwikis #74

Closed js-ddev closed 2 years ago

js-ddev commented 2 years ago

The migrator extension can be installed flawlessly on a sub-wiki, yet at step 1 there is a velocity error.

It seems the page reference used by the migrator can only be on a main wiki.

Here are some samples of the error:

Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with namespace [subwikiid:Confluence.Migrator.Code.MigratorSheet]

Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'resetMigration' in class com.xwiki.confluencemigrator.script.ConfluenceMigratorProfileScriptService threw exception java.lang.NullPointerException at subwikiid:Confluence.Migrator.Code.MigratorSheet[line 18, column 55]

ClemensRobbenhaar commented 2 years ago

PR at https://github.com/xwikisas/application-confluence-migrator/pull/78