-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
None
-
None
This test fails
private void assertSetEmptyMultiValueProperty(Node node) throws RepositoryException { Property property = node.setProperty("test", new String[]{}); assertEquals(PropertyType.STRING, property.getType()); }
Also info.magnolia.test.mock.jcr.MockProperty#getType throws ArrayIndexOutOfBoundsException.
This behaviour appears to be broken already in org.apache.jackrabbit.commons.AbstractProperty, in fact Jackrabbit itself doesn't use this class.
Acceptance criteria