You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2011/07/15 17:36:00 UTC

[jira] [Resolved] (JCR-3024) [SPI] Node.setProperty with null value throws ItemNotFoundException

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

Michael Dürig resolved JCR-3024.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

Fixed at revision 1147193

> [SPI] Node.setProperty with null value throws ItemNotFoundException
> -------------------------------------------------------------------
>
>                 Key: JCR-3024
>                 URL: https://issues.apache.org/jira/browse/JCR-3024
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.3.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.3.0
>
>
> Node.setProperty with a null value should not throw a ItemNotFoundException in the case a property with the given name does not exist. Rather should it return a stale property which throws an InvalidItemStateException when its methods are accessed. 
> This behavior is also consistent with jackrabbit-core.

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