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

ResourceResolver#getResource(Resource, String) should handle a null path returned by the base resource

    XMLWordPrintableJSON

Details

    Description

      The implementation before 1.4.0 handled ResourceResolver#getResource(Resource, String) called with a resource returning null for getPath
      The new implementation is throwing an NPE
      We should handle the case and treat it like a null rsource

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: