Hi friends,
We're encountering a database truncation error that's causing our Kentico 13 media library files migration process to Content Hub assets to fail. The issue appears to be related to column size limitations in the Xperience by Kentico CMS tables.
Error Details:
String or binary data would be truncated in table 'demo.dbo.CMS_ContentItemLanguageMetadata', column 'ContentItemLanguageMetadataDisplayName'.
Truncated value: '2_3_9_blog_article_rebuilding_a_content_large_engineering_lead_practice_starting_with_existing_staff_and_more_even_36'
The statement has been terminated.
Proposed Solution: I'd like to suggest increasing the size of the following NVarchar columns from their current limit of 100 characters:
- CMS_ContentItemLanguageMetadata table:
ContentItemLanguageMetadataDisplayName
column
- CMS_ContentItem table:
ContentItemName
column
Recommendation: Increase both columns from NVARCHAR(100)
to NVARCHAR(200)
This would provide sufficient space for longer content names and metadata display names, especially for those large names that were allowed previously in Kentico 13 which often exceed the current 100-character limit.
So we're clearly hitting the current limit. Doubling the size to 200 characters would provide a comfortable buffer for future content while not significantly impacting database performance.
Maybe include this minor upgrade as part of 30.8.1 or 30.8.2? please
Thanks in advance
Environment
Xperience by Kentico version: 30.8.0
.NET version: 8
Execution environment: Private cloud (Azure/AWS/Virtual machine)