-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Brief bug description
After running the Kentico Migration Tool with no custom modifications, some migrated pages throw an exception when opening the Content tab in the Xperience admin.
The error shown: "Language with ID '0' does not exist."
This results in an UnhandledException (System.InvalidOperationException) coming from ContentLanguageRetriever.GetContentLanguageOrThrow.
Output logs
Repro steps
- Open the Xperience admin.
- Navigate to Pages and select a migrated page.
- Click the Content tab.
- The error dialog appears instead of loading the content editor.
I have no idea why some pages are working and some are not :(
Expected behavior
The Content tab should load correctly for all migrated pages without throwing an exception.
All languages should resolve properly, and no references to language ID 0 should occur.
Test environment
Platform/OS: Windows 11
Browser (e.g., Chrome, Edge): Chrome
Kentico Xperience version: 30.10.1
Migration Tool version:3.16.0
Additional context
No custom migration code or custom modules were used; issue occurs on a clean migration.
It appears some content items or references may be missing language assignment or default language resolution after migration.
Screenshots
