jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Updated] (JCR-2992) Can't set type for empty multi valued property f
Date Wed, 15 Jun 2011 15:47:47 GMT

     [ https://issues.apache.org/jira/browse/JCR-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Michael Dürig updated JCR-2992:

    Attachment: Test_case_for_JCR-2992.patch

Test case demonstration the issue

> 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
>         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

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message