What happened?
Description
When using a custom field in the Title Format for an Entry Type it can exceed the SQL character limit causing the entry not to save.
Steps to reproduce
- Create an Entry Type with a Title Format such as My Title: {my_custom_field}. In my case the custom field was a CK Editor field to show the user a preview of the content.
- Create an entry and attempt to save it.
Expected behavior
The title format should be truncated.
Actual behavior
The entry doesn't save.
Craft CMS version
5.1.7
PHP version
8.2.18
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
When using a custom field in the Title Format for an Entry Type it can exceed the SQL character limit causing the entry not to save.
Steps to reproduce
Expected behavior
The title format should be truncated.
Actual behavior
The entry doesn't save.
Craft CMS version
5.1.7
PHP version
8.2.18
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions