Can't set type for empty multi valued property f
------------------------------------------------
Key: JCR-2992
URL: https://issues.apache.org/jira/browse/JCR-2992
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav,
jackrabbit-spi2jcr
Affects Versions: 2.2.7
Reporter: Michael Dürig
Setting an empty multi valued property of a certain type is not possible
through SPI. The type is not available on the SPI layer:
parentNode.setProperty("myProp", new Value[0], PropertyType.BOOLEAN);
causes a call to
Batch.setValue(PropertyId propertyId, QValue[] values)
in the SPI. Since values is an empty array, there is no means for retrieving
the original type.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira