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 Fri, 11 Nov 2016 11:25:58 GMT

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

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

SUCCESS: Integrated in Jenkins build Struts-JDK7-master #548 (See [https://builds.apache.org/job/Struts-JDK7-master/548/])
WW-4711 Disables evaluating ValueStack by default (lukaszlenart: rev 996475d755820914ea4695729ec46159f12625e0)
* (edit) core/src/test/java/org/apache/struts2/views/jsp/TextTagTest.java
* (edit) core/src/main/java/org/apache/struts2/components/Text.java
WW-4711 Disables evaluating ValueStack by default (lukaszlenart: rev 4e7a4b18c0286c34b55529d2db1346df9a7f9dde)
* (edit) core/src/site/resources/tags/text.html


> <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 message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message