When two pages in the same import batch link to each other using the {ccm:export:page:/path} token, the validator reports:
Referenced page at path /test-page-b cannot be found in the site or in the current content batch.
…even though /test-page-b (and /test-page) are included in that batch.
Also, the link in the imported page will be empty.
Since importing pages is a core feature of the Migration Tool, this bug significantly impacts its reliability and makes it difficult to use for real-world site migrations.
Steps to Reproduce
- Create two pages: Test Page A (/test-page) and Test Page B (/test-page-b).

- Add a Content block to each page containing a link to the other page.
- Export both pages to CIF using the Migration Tool. Here's the xml: export.xml
- Delete the two pages from the site.
- Install/enable the Migration Tool add-on.
- Create a new Import Batch and upload the XML from step 3.
Actual Result
The batch shows a validation warning for Test Page A:
Referenced page at path /test-page-b cannot be found in the site or in the current content batch.
…and similarly for Test Page B.

When two pages in the same import batch link to each other using the
{ccm:export:page:/path}token, the validator reports:…even though /test-page-b (and /test-page) are included in that batch.
Also, the link in the imported page will be empty.
Since importing pages is a core feature of the Migration Tool, this bug significantly impacts its reliability and makes it difficult to use for real-world site migrations.
Steps to Reproduce
Actual Result
The batch shows a validation warning for Test Page A:
…and similarly for Test Page B.