Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-395

Inconsistency in Node#setProperty in case of null value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.6
    • jcr
    • None

    Description

      Setting a null value to a single valued property will result
      in 'null' being returned while executing the same on a multivalued
      property will return the removed property.

      jr2 returned the removed property in both cases as far as i
      remember and i would suggest that we don't change that behavior. in
      particular since the specification IMO doesn't allow to return
      null-values for these methods.

      Attachments

        1. OAK-395.patch
          4 kB
          Marcel Reutegger

        Activity

          People

            mreutegg Marcel Reutegger
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: