xwikisas / xwiki-pro-macros

XWiki rendering macros useful when migrating content from Confluence
GNU Lesser General Public License v2.1
3 stars 12 forks source link

Provide Confluence resolvers using the Confluence Migrator Pro's link mapping state #367

Closed raphj closed 4 days ago

raphj commented 5 days ago

Confluence Resolvers are used when evaluating CQL when mapping Confluence URLs using the Confluence URL Mapping contrib extension.

The primary way to resolve confluence URLs, spaces, page titles and page ids is to use the ConfluencePageClass objects provided by the confluence-xml module. Unfortunately, many migrations were done without enabling ConfluencePageClass objects, and it is still possible to disable this option.

Another way to resolve Confluence elements is to use the link mapping state built during migrations by Confluence Migrator Pro. This is a workaround, as this state was not intended to be used outside the migrator, but it is better than nothing, and required for these migrations.