struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Nenning (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4407) LocalizedTextUtil reports WARNings when app uses more than one resource bundle
Date Tue, 30 Sep 2014 09:00:46 GMT

    [ https://issues.apache.org/jira/browse/WW-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14152984#comment-14152984
] 

Christoph Nenning commented on WW-4407:
---------------------------------------

Maybe struts should provide a way to define a "default bundle" which could be used when no
bundle is given for a getText() call

> LocalizedTextUtil reports WARNings when app uses more than one resource bundle
> ------------------------------------------------------------------------------
>
>                 Key: WW-4407
>                 URL: https://issues.apache.org/jira/browse/WW-4407
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 2.3.18
>            Reporter: Christoph Nenning
>            Priority: Minor
>              Labels: i18n
>             Fix For: 2.3.18
>
>
> In my app I use 3 resource bundles. One of them is located direclty in the app and contains
most text keys. The other two are located in JARs that are reused in several apps and bring
a few own text keys.
> Each Key is defined in exactly one bundle.
> Since Version 2.3.18 LocalizedTextUtil searches each key in all bundles and reports WARN
messages for those bundles the key is not located in:
> WARN  opensymphony.xwork2.util.LocalizedTextUtil - Missing key [...] in bundle [...]!
> Is is probably caused by WW-4379.



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

Mime
View raw message