struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4459) getText() is broken
Date Thu, 05 Feb 2015 18:47:35 GMT

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

Lukasz Lenart commented on WW-4459:
-----------------------------------

Does it happen only in devMode? As far I see such message is only logged when devMode is set
to true, see this diff
https://git-wip-us.apache.org/repos/asf?p=struts.git;a=blobdiff;f=xwork-core/src/main/java/com/opensymphony/xwork2/util/LocalizedTextUtil.java;h=ec7860ec8af62b4b2bd79c77e3b30e07f86b0dc9;hp=9aad92864b85e89b0903d3e5e793c9c3952438cb;hb=583234b8ccc24dc52c1b718a153126f7319de262;hpb=eecd907638d223a74b91a944476c11750adac4ab

> getText() is broken 
> --------------------
>
>                 Key: WW-4459
>                 URL: https://issues.apache.org/jira/browse/WW-4459
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Expression Language
>    Affects Versions: 2.3.20
>         Environment: JBoss EAP 6
>            Reporter: Yuri
>             Fix For: 2.3.22
>
>
> After upgrade from 2.3.15 to 2.3.20 we encountered couple issues:
> 1. Web server throws warning messages:
> {noformat}
> WARN [LocalizedTextUtil] Missing key [.... 
> {noformat}
> That happens when resource key starts with "errors."
> 2. getText() with formatting no longer works. For example, 
> {code:xml}
> <s:property value="getText('{0,number,#,#0}',{#pctComplete * 100})"/>
> {code}
> throws Warning: 
> {noformat}
> Missing key [{0,number,#,#0}] in bundles ...
> {noformat}



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

Mime
View raw message