Details
-
Bug
-
Resolution: Invalid
-
High
-
None
-
None
-
None
-
None
Description
Tested in 2014.11 (legacy admin UI):
1) create a content class with one field per existing field type
2) where the field type does allow setting settings and/or a default value, do put something non-null in there
3) create a php code which gets the ContentType definition for that class, and loops over its field: for each fieldDefinition, dump the value of the fieldSettings and defaultValue
expected result: all the settings that can be set in the admin GUI are present in the dumped data (or at least most of them)
actual result:
a. ezstring does not show the setting for max length
b. ezbinaryfile does not show the setting for max file size
c. ezdate has a default value even if the default is set to 'now'
e. ezfloat misses min, max values
f. ezimage misses max value
g. ezmedia misses max value
h. ezxmltext tag preset is eiter '' or 'mini', while when creating the field via api it accepts either 0 or 1
i. isbn: the value for 'is isbn 13 = false' is not respected
Attachments
Issue Links
- relates to
-
EZP-26916 Invalid fieldSettings for existing ContentTypes in the default database
- Open