felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Valchev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-4562) Web Console License plugin fails to load files
Date Wed, 16 Jul 2014 09:09:04 GMT
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)

Mime
View raw message