Internal page link of confluence space are not migrated properly

confluence
link
migration
xwiki
#1

I have parent page which contains the link of its child pages in Confluence.

Confluence:

image

I have linked both in different way,

After migration, my final out is like below

XWiki:

image

XWiki Source:
image

3rd link is right.
2nd link, text is missing and also url is incorrect.
am not sure of 1st link.

Is this an issue?

0 Likes

#2

For the first link you need to indicate the base URL otherwise the parser cannot know if the URL is some external stuff or if it’s internal (it’s not indicated in the export package).

Second link look like a reference escaping bug. The best would be to create an issue on https://jira.xwiki.org/browse/CONFLUENCE and attachment the smallest possible package which reproduce the issue.

0 Likes

#3

Yes, i have included the base URL as an input in migration. But still it remains the same.

Also created and issue for second link, https://jira.xwiki.org/browse/CONFLUENCE-33

0 Likes

#4

Thanks !

Which base URL did not indicated ? Did you included an example of such URL in the package you provided in https://jira.xwiki.org/browse/CONFLUENCE-33 ?

0 Likes

#5

Yes, i have updated it now in description.

0 Likes

#6

Ok thanks. Will test all that as soon as I find some time.

0 Likes

#7

@tmortagne

Related bug has been closed, i have updated the extension version to 9.1.6, but still am facing the same error i was reported.

0 Likes

#8

So after testing in a fresh instance of XWiki I can confirm I fixed the issues I notices (URL format not converted and . not escaped in the wiki link).

One link stills look broken because:

  • URL: the space name in the source URL does not match the actual space name, looks like there is some kind of alias in that package I did not noticed before (only encountered number ids and display name until now)
0 Likes

#9

Indeed I found the space key in the package. Looks like I will need to create an index of the spaces in a first pass. Created https://jira.xwiki.org/browse/CONFLUENCE-36.

0 Likes

#10

@tmortagne

Seen that provided URL issue is fixed. I have upgraded the version to 9.2 and restarted.

And the imported the internal links issue package but still unfixed.

image

Is this anything i required to do further?

0 Likes

#12

I would need to know what you have in the source for this one and what you expect in the end. It was not in the test package you gave. There is many things involved in the conversion of a link.

0 Likes

#13

Sorry,

You can use the sample source which was provided with this issue,

https://jira.xwiki.org/browse/CONFLUENCE-37

Hope you see the same thing as referred in the screenshot.

0 Likes