Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E1F2A118CF for ; Tue, 26 Aug 2014 09:24:00 +0000 (UTC) Received: (qmail 22234 invoked by uid 500); 26 Aug 2014 09:23:58 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 22209 invoked by uid 500); 26 Aug 2014 09:23:58 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 22159 invoked by uid 99); 26 Aug 2014 09:23:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 09:23:58 +0000 Date: Tue, 26 Aug 2014 09:23:58 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4390) paramsPrepareParamsStack ignored excludeParams parameter in second params-Interceptor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110534#comment-14110534 ] Lukasz Lenart commented on WW-4390: ----------------------------------- {{com/opensymphony/xwork/ActionSupport}} the package is wrong, it supposed to be {{com/opensymphony/xwork2/ActionSupport}} - maybe you use two version of XWork or something? > paramsPrepareParamsStack ignored excludeParams parameter in second params-Interceptor > ------------------------------------------------------------------------------------- > > Key: WW-4390 > URL: https://issues.apache.org/jira/browse/WW-4390 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors, Plugin - Convention > Affects Versions: 2.3.16.3 > Reporter: Fabian Richter > Fix For: 2.3.18 > > > When using paramsPrepareParamsStack with the convention plugin multiple duplicate errors/warnings with devMode=true occur like: > {noformat} > Error setting expression 'token' with value ['5UVO47K811DQ15DUZF4QV2NQ8DHIHSUY', ] > Error setting expression 'token' with value ['5UVO47K811DQ15DUZF4QV2NQ8DHIHSUY', ] > {noformat} > By excluding these params (important is 'token') I was able to get rid of the duplication of these messages: > {code:java} > @InterceptorRefs({@InterceptorRef(value = "paramsPrepareParamsStack", params = {"params.excludeParams", > "struts.token,struts.token.name,token"})}) > {code} > But apparently only the first params interceptor in the stack uses these params. The second one (the one after the prepare interceptor) only uses the built-in excludeParams. So one of the above mentioned errors persists, -- This message was sent by Atlassian JIRA (v6.2#6252)