If an imported page has a meta description that has longer than 500 characters, the Design->Create Template From Page feature fails with a UI hang and a 500 error message in the JavaScript console. The server log has the following:
2024-02-21 14:17:16,020 ERROR [Server] PSRuntimeExceptionMapper exception mapper mapped exception: There was an unexpected error creating the new template from the page. C:com.percussion.sitemanage.service.impl.PSSiteTemplateService:L:451
The problem seems to be because the Page content type has a CLOB data type for the DESCRIPTION but the Page Template content type has the field configured as a varchar 500.
The template type should be updated to match the page data type to support longer meta descriptions.
Describe the bug
If an imported page has a meta description that has longer than 500 characters, the Design->Create Template From Page feature fails with a UI hang and a 500 error message in the JavaScript console. The server log has the following:
The problem seems to be because the Page content type has a CLOB data type for the DESCRIPTION but the Page Template content type has the field configured as a varchar 500.
The template type should be updated to match the page data type to support longer meta descriptions.