felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.W. Janssen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-5173) Metatype service's BundleResources ignore properties provided by fragment bundles
Date Thu, 04 Feb 2016 16:11:39 GMT

     [ https://issues.apache.org/jira/browse/FELIX-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

J.W. Janssen updated FELIX-5173:
--------------------------------
    Fix Version/s: metatype-1.1.4

> Metatype service's BundleResources ignore properties provided by fragment bundles
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-5173
>                 URL: https://issues.apache.org/jira/browse/FELIX-5173
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.1.2
>            Reporter: Olaf Otto
>            Priority: Minor
>             Fix For: metatype-1.1.4
>
>
> OSGi Fragment bundles may - rather similar to OSGI bundles contributing Resource Bundles
for i18n - add translated properties for metatype services to a host bundle. Also, fragment
bundles may add declarative service to a host bundle, thus having to contribute the corresponding
properties.
> However, the current BundleResources implementation exclusively loads properties from
the declaring (host) bundle using "getEntry(...)":
> {code}
> URL resURL = this.bundle.getEntry(resourceName);
> ...
> {code}
> Instead, getResource(...) should be used, which takes into account resources contributed
by fragments.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message