Valentin Valchev created FELIX-4562:
---------------------------------------

             Summary: Web Console License plugin fails to load files
                 Key: FELIX-4562
                 URL: https://issues.apache.org/jira/browse/FELIX-4562
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-4.2.2
            Reporter: Valentin Valchev
            Assignee: Valentin Valchev
            Priority: Minor
             Fix For: webconsole-4.2.4


License plugin fails to load the files from fragment bundles. The reason for 
that is the following code in LicenseServlet.sendResource() method:

bundle.getResource( pathInfo.licenseFile )

The problem is that by specification bundle.getResource() must always return 
null if the bundle is fragment.

To fix the problem, the code should also try searching the files using 
bundle.getEntry() method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to