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:21:00 UTC

[jira] [Created] (JCR-3024) [SPI] Node.setProperty with null value throws throw createE();

[SPI] Node.setProperty with null value throws                         throw createE();
--------------------------------------------------------------------------------------

                 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


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

       

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

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dürig updated JCR-3024:
-------------------------------

    Summary: [SPI] Node.setProperty with null value throws ItemNotFoundException  (was: [SPI] Node.setProperty with null value throws                         throw createE();)

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

       

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

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
     [ 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