Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-752

JcrResourceResolver2 resolve(String) method not API conform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • JCR Resource 2.0.4
    • JCR Resource 2.0.4
    • JCR
    • None

    Description

      Affected is the JcrResourceResolver2#resolve(abspath) method.

      If abspath argument doesn't point to an Item, the resolver returns a Resource of type non-existing.
      The API according its JAVA-Doc requires to return <null> in this case

      Attachments

        1. SLING-752.patch
          7 kB
          Felix Meschberger
        2. SLING-752-2.patch
          7 kB
          Felix Meschberger

        Activity

          People

            fmeschbe Felix Meschberger
            chrisk christian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: