Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-3024

[SPI] Node.setProperty with null value throws ItemNotFoundException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: jackrabbit-jcr2spi
    • Labels:
      None

      Description

      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.

        Activity

        Michael Dürig created issue -
        Michael Dürig made changes -
        Field Original Value New Value
        Summary [SPI] Node.setProperty with null value throws throw createE(); [SPI] Node.setProperty with null value throws ItemNotFoundException
        Michael Dürig made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.0 [ 12315901 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Michael Dürig
            Reporter:
            Michael Dürig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development