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

Sling Models: ResourcePathInjector throws NPE when used with non-resource adaptables

    XMLWordPrintableJSON

Details

    Description

      the new resource path injector throws an NPE when used with adaptables that are no resources, or to be more precise that do not adapt to a value map.

      the patch fixes it, and adds unit tests for this scenario (and fixes 2 typos in the api class).

      Attachments

        Issue Links

          Activity

            People

              justinedelson Justin Edelson
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: