struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4711) <s:text/> tag should not evaluate defaultMessage against a ValueStack by default
Date Sat, 12 Nov 2016 09:17:58 GMT

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

Hudson commented on WW-4711:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #551 (See [https://builds.apache.org/job/Struts-JDK7-master/551/])
WW-4711 Disables searching stack by default (lukaszlenart: rev a5092a24f20d541f4401e66bc1dca79fa86ce020)
* (edit) core/src/main/java/org/apache/struts2/util/TextProviderHelper.java


> <s:text/> tag should not evaluate defaultMessage against a ValueStack by default
> --------------------------------------------------------------------------------
>
>                 Key: WW-4711
>                 URL: https://issues.apache.org/jira/browse/WW-4711
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.5.5
>            Reporter: Lukasz Lenart
>             Fix For: 2.5.6
>
>
> Right now {{<s:text/>}} tag will perform evaluation of a {{defaultMessage}} against
a ValueStack by default. In most cases the {{defaultMessage}} is set to value of {{name}}
attribute and can be easily used wrong by a developer. Evaluation must be performed only on
purpose.
> This change affects also {{<s:label/>}} tag and {{label}} attribute of all {{UIBean}}s



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

Mime
View raw message