You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/06/16 13:33:44 UTC

[jira] Created: (FELIX-607) Meta type localization incorrectly resolved in the meta type folder

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.


[jira] Closed: (FELIX-607) Meta type localization incorrectly resolved in the meta type folder

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-607.
-----------------------------------

    Resolution: Fixed

Implemented this change in Rev. r668120

> 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.


[jira] Work started: (FELIX-607) Meta type localization incorrectly resolved in the meta type folder

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-607 started by Felix Meschberger.

> 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.


[jira] Commented: (FELIX-607) Meta type localization incorrectly resolved in the meta type folder

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12605264#action_12605264 ] 

Felix Meschberger commented on FELIX-607:
-----------------------------------------

.... and deployed new snapshot version 1.0.1-20080616.114434-1

> 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.