[
https://issues.apache.org/jira/browse/JCR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig updated JCR-2992:
-------------------------------
Summary: Can't set type for empty multi valued property (was: Can't set
type for empty multi valued property f)
> Can't set type for empty multi valued property
> ----------------------------------------------
>
> 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
> Attachments: Test_case_for_JCR-2992.patch
>
>
> 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