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

use model's bundle context to lookup services

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Models Impl 1.4.10
    • Models Impl 1.4.12
    • Sling Models
    • None

    Description

      Searching for all the silent ClassNotFoundExceptions generated, as discussed offline with kpauls

      It seems like the sling models service injector is using its own bundle context for the lookup. That makes this case reasonable problematic. Typically, an extender uses the bundle context of the bundle it extends - which would in this case make the lookup likely not run into any CNFE for the assignable check. If anything, you could try there and see if you could make it use the bundle context of the extended bundle.

      Attachments

        Issue Links

          Activity

            People

              npeltier Nicolas Peltier
              npeltier Nicolas Peltier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m