Skip to content

Parents with "/" in the name are duplicated by the nested pages migrator #88

@snazare

Description

@snazare

Steps to reproduce:

  1. Find a space where there are parent pages with "/" in the name
  2. Run the Confluence migrator on said space

NOTE: Starting with xwiki 13.x the "/" in the name should be automatically removed. Therefore if you are using a recent version, the fix in step 5 should not be needed. I am testing on XWiki 14.4.6 cloud and I see no difference whether I run the step 5 fix or not.

Expected result step 6:
The parent page with "/" in the name is moved in the correct location, along with its children.

Actual result step 6:
An empty parent page with "/" in the title and in the name stays in root, but has the correct children.
Another parent page with "/" in the title but not in the name appears in the correct location, with the correct content but no children.

With invalid parents fix at step 5:
fix-parents-2

Without invalid parents fix at step 5:
slash-no-fix

Result:
nested-slash

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions