Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5
-
None
Description
The BinaryPropertyTest class returns null from getPropertyIsMultivalued, meaning that it doesn't care if the property being tested is multi-valued or not. And in most cases that is true since the class uses PropertyUtil.getValue utility method to get the (first) value of the property. However, the testGetLengthJcr2 method calls Property.getValue directly, which breaks the test if the property being tested happens to be multi-valued.