Details
-
Bug
-
Resolution: Duplicate
-
High
-
5.2-dev
-
Server OS: Red Hat 6.4
PHP: 5.3.3
Database: MySQL 5.1.61
Browser: Firefox 20
Description
Creating a content type with ezinteger field and not defining it's min and max will make them be (default) min 0 and max 0
Steps: (public api) 1 - create a new ContentCreateStruct 2 - add new ezinteger field with all fields as default 3 - save the ContentCreateStruct (ezpublish) 1 - go to "Setup" -> "Classes" -> "Content" 2 - verify that the newly created class has min and max equal to 0