Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
5.4.0
-
None
-
None
-
Platform 211 Eng OKRs
Description
When a document type field is defined as multiple but a document from this document type stores a single value on that field (or the vice versa), this causes a ClassCastException on runtime.
To solve this problem, 2 new methods should be created in HippoItem to get single and multiple value elements for the standard types (String, Text, Password, Long, Integer, Boolean, Calendar, Html, HippoHtml).
Attachments
Issue Links
- causes
-
ESSENTIALS-1272 Inserted bean classes should not use getProperty(String name) any more
- Closed
-
HSTTWO-4623 Update all getProperty methods in existing content beans to use getSingleProperty/getMultipleProperty
- Closed
- relates to
-
ESSENTIALS-1271 Generated content bean classes should not use getProperty(String name) any more
- Closed