Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2511

Value#getBinary() and #getStream() return internal representation for type PATH and NAME

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • jackrabbit-jcr-commons
    • None

    Description

      just found a path-related spi2dav test failing that passed some time before jackrabbit 2.0 (BatchTest#testSetPathValue).

      i had a quick look at it and it seems to me that the reasons is the internal (Path, Name) value representation
      being exposed when calling Value#getBinary(), Value#getStream() and the corresponding shortcuts on Property.

      from my understanding of the specification these methods should always return the standard JCR path (or name) representation as it
      is exposed by Value#getString() and Property#getString() as it used to be in previous versions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: