Meta type localization incorrectly resolved in the meta type folder
-------------------------------------------------------------------
Key: FELIX-607
URL: https://issues.apache.org/jira/browse/FELIX-607
Project: Felix
Issue Type: Bug
Components: Metatype Service
Affects Versions: metatype-1.0.0
Reporter: Felix Meschberger
Assignee: Felix Meschberger
Fix For: metatype-1.0.1
Currently the MetaType service assumes the localization of meta type
descriptors as declared in the "localization" attribute of the "metatype"
element to be specified relative to the meta type data directory
OSGI-INF/metatype. This assumption is actually wrong and results from the
incorrect interpretation of the Specification.
Correct would be that this is the full path of a basename to entries in the
bundle. So if the localization would be "sample" the current interpretation is
to look for "OSGI-INF/metatype/sample*.properties" files, where "*" is replaced
by the locale name. Instead the localization "sample" should looked up as
"sample*.properties" directly in the root of the bundle.
A fix for this problem, must still support the old style - yet wrong, of course
- way for backwards compatibility with version 1.0.0 of the implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.