Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.0.0-dev
-
None
-
OS: RHEL 6.3
PHP: PHP 5.3.3
Database: Mysql 5.1.61
Description
If you create an object using a class with the ezselection datatype, it is possible to store a value that is not present in the options array.
Steps to reproduce
1. Create a new class with an ezselection datatype
2. Place two values on the options table ex: BMW, Audi
3. Using the public API create an object of this class type
4. Define the ezselection field as "array ( 2 )" a non existing option
5. Verify that no exception is trown and that the object is create with an empty ezselection field.