Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
2012.1, 4.6.0, 5.0, 5.1
-
None
Description
It would be good if all datatypes supported in s similar fashion the concept of "not having content"
Currently some do, some others do not at all, some have buggy/incomplete support.
This topic related to theobjecAttributeHasContent method implementation in different datatypes but also to serialization/deserialization via tostring/fromstring and via package import, but also to content editing via the gui.
Example problems:
- ezurl: fromstring() does not clear an existing url from an existing attribute (incomplete support)
- ezboolean: actually does not support being empty, while there is nothing preventing it (except people confusing null and false)
- ezfloat: supports being empty, but when editing a float attribute via gui, it gets filled with 0.00 if rthe form field is left empty
Attachments
Issue Links
- relates to
-
EZP-15935 ezurl fromstring can not remove url
- Open
-
EZP-16509 ezcontentclassattribute-definition should reflect actual database schema - NULL values for numerics
- Open
-
EZP-17843 CJW Newsletter - subscription datatype - Implement fromString & hasContent
- Closed
-
EZP-18997 php warning in ezflow calling .has_content if no zones are defined
- Closed