Details
-
Bug
-
Resolution: Duplicate
-
High
-
16.02
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox 44
Description
Steps to Reproduce
1) Create one content type with a textline (or textblock) fieldtype, where:
Maximum length = 4
Default value = This is a test
2) Save the content type
The content type is saved without any warning or error. It shouldn't.
But if we edit and save the content type again, then the validation is triggered. So this lack of validation seems to be on the creation process. Not on the update.
Attachments
Issue Links
- duplicates
-
EZP-25339 In Textline fieldtype, is being permitted the "default value" length to be bigger than "Maximum length"
- Confirmed