felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Smirnov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5731) Webconsole can't read second component localization properties
Date Thu, 09 Nov 2017 19:54:02 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16246396#comment-16246396

Vladimir Smirnov commented on FELIX-5731:

To my mind it would be great to support such case - it's not always possible to update system
components like metatype. 
P.S.: for now I use workaround - add prefix % to each component's label)

> Webconsole can't read second component localization properties
> --------------------------------------------------------------
>                 Key: FELIX-5731
>                 URL: https://issues.apache.org/jira/browse/FELIX-5731
>             Project: Felix
>          Issue Type: Bug
>          Components: SCR Tooling, Web Console
>            Reporter: Vladimir Smirnov
> I use org.apache.felix.webconsole 4.2.0 + org.apache.felix.metatype-1.0.6
> Maven-scr-plugin-1.24.0 extract inlined texts into distinct .properties files. 
> On first read component text properties it saved ONE first compotent .properties files
into BundleResources.resourcesByBundle field.
> On read other component text properties it checks BundleResources.resourcesByBundle,
finds saved properties from first component and doesn't try to read localization properties
for needable component.
> It doesn't use MetaTypeProviderImpl.getLocales()
> So it would be greate to add to Maven-scr-plugin an abbility to save all localization
strings into single properties file. (i.e. as plugin configurable property) 

This message was sent by Atlassian JIRA

View raw message