Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
5.1, 5.2-dev
-
None
-
Aconcagua Sprint 1, Aconcagua Sprint 2
Description
Fallback default value returned by the getEmptyValue() method of some of the FieldTypes will produce an error if used in creation of Content.
Exception will be thrown by FieldType::acceptValue().
While the intention of this method is not to provide a default empty value for creation of Content (null can be used instead), nothing prevents user to use it in such a way.
Proposed: update FieldType implementations so that acceptValue() can process such a value.