[ https://issues.apache.org/jira/browse/FELIX-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned FELIX-5173: --------------------------------------- Assignee: J.W. Janssen > 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 > Assignee: J.W. Janssen > 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)