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-4023) ParametersInterceptor produces a warning when parameter method:* is set
Date Mon, 21 Oct 2013 12:16:45 GMT

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

Hudson commented on WW-4023:
----------------------------

SUCCESS: Integrated in Struts2-JDK6 #815 (See [https://builds.apache.org/job/Struts2-JDK6/815/])
WW-4023 Adds action: and method: prefixes to excludeParams list and changes order to first
check for excludeParams and then for acceptedParams in ParametersInterceptor (lukaszlenart:
rev 1534089)
* /struts/struts2/trunk/core/src/main/resources/struts-default.xml
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java


> ParametersInterceptor produces a warning when parameter method:* is set
> -----------------------------------------------------------------------
>
>                 Key: WW-4023
>                 URL: https://issues.apache.org/jira/browse/WW-4023
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.7, 2.3.8, 2.3.12
>            Reporter: Jon Y.
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.16
>
>
> The following example produces a form with the parameter names: number and method:add
> {code:xml}
> <s:form namespace="/example" action="example">
> <s:textfield name="number"/>
> <s:submit method="add" value="Add"></s:submit>
> </s:form>
> {code}
> The ParametersInterceptor throws a warning when devMode is set:
> {quote}
> Parameter [method:add] didn't match acceptedPattern pattern!
> {quote} 
> I think this warn message shouldn't be logged because it's a normal use case. The "method:"
parameter should be included in the excludeParams configuration.
> This issue relates to [WW-3973].



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message