Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step 6 : Nested pages migration #12

Closed
rstavro opened this issue May 26, 2021 · 0 comments
Closed

Step 6 : Nested pages migration #12

rstavro opened this issue May 26, 2021 · 0 comments

Comments

@rstavro
Copy link
Contributor

rstavro commented May 26, 2021

On this final step, the user will be invited to compute the nested pages migration plan. Once the user is OK with the plan, she will be be able to execute it. Note that the migration will be executed with all parameters set to default values. This is why only buttons will be displayed at this step and not more: Compute plan and Execute plan.

The space will be extracted from the active profile and in the migration plan, only the imported (labelled) pages will be displayed.

To avoid failure of the Nested Page Migrator on the DocumentMovedListener, in case the XWiki version is < 13.2, make sure that the serialized target document length is set to be greater than 245 instead of 255. This should be done in the Confluence migrator by overwriting the JavaScript function that can be found in the 2nd JavaScript Object, containing the following lines of code :

    self.isTooLong = function () {
      return self.serializedTargetDocument().length > 255; // Change it to 245 !!!
    }

Once the migration is finished, the user will see a text describing the result of the migration, with a link to the migration report and when clicking the Finish button she will be redirect to the space home page resulted after the migration.

See more details on the specification page.

@rstavro rstavro changed the title Step 7 : Nested pages migration Step 6 : Nested pages migration May 26, 2021
@acotiuga acotiuga self-assigned this Jul 9, 2021
@acotiuga acotiuga added this to the 1.0 milestone Jul 9, 2021
acotiuga added a commit that referenced this issue Jul 13, 2021
* add a new step in the wizzard
acotiuga added a commit that referenced this issue Nov 3, 2021
* use a lower compatible version on nested pages migrator
acotiuga added a commit that referenced this issue Nov 12, 2021
* Copy the NestedPagesMigration.WebHome document from the Nested Pages Migrator Application v 0.7.2, in order to customize it
acotiuga added a commit that referenced this issue Nov 12, 2021
* use the active profile space in the includedSpaces input value
* set the addRedirection to false (delete the initial imported documents instead of keeping them with redirects)
* remove all the unnecessary inputs
* remove all the unnecessary buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants