Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 374CF112A7 for ; Wed, 20 Aug 2014 19:10:02 +0000 (UTC) Received: (qmail 60295 invoked by uid 500); 20 Aug 2014 19:09:58 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 60263 invoked by uid 500); 20 Aug 2014 19:09:58 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 60248 invoked by uid 99); 20 Aug 2014 19:09:57 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 19:09:57 +0000 Received: from localhost (HELO mail-yh0-f50.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 19:09:57 +0000 Received: by mail-yh0-f50.google.com with SMTP id v1so7264426yhn.37 for ; Wed, 20 Aug 2014 12:09:56 -0700 (PDT) X-Received: by 10.236.152.168 with SMTP id d28mr51116800yhk.54.1408561796826; Wed, 20 Aug 2014 12:09:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.121.205 with HTTP; Wed, 20 Aug 2014 12:09:36 -0700 (PDT) In-Reply-To: <53F368BA.4050504@mtg.de> References: <53F368BA.4050504@mtg.de> From: Lukasz Lenart Date: Wed, 20 Aug 2014 21:09:36 +0200 Message-ID: Subject: Re: paramsPrepareParamsStack and token interceptor To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2014-08-19 17:09 GMT+02:00 Fabian Richter : > Hi, > > when using paramsPrepareParamsStack with the convention plugin I'm gettin= g > multiple errors/warnings in devMode=3Dtrue: > > Error setting expression 'token' with value > ['5UVO47K811DQ15DUZF4QV2NQ8DHIHSUY', ] > Error setting expression 'token' with value > ['5UVO47K811DQ15DUZF4QV2NQ8DHIHSUY', ] > > At least one I got rid of by excluding these params (important is 'token'= ): > > @InterceptorRefs({@InterceptorRef(value =3D "paramsPrepareParamsStack", p= arams > =3D {"params.excludeParams", > "struts.token,struts.token.name,token"})}) > > 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, wh= ich > is rather uncool :/ > > Bug or feature? Feature and bug ;-) This kind of error report was introduced to inform developer about possible typo in setter or value name in JSP, but you are right, it's a bit annoying when something stupid like this clutter the logs. Please fill an issue in JIRA. Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org