2014-08-19 17:09 GMT+02:00 Fabian Richter <frich...@mtg.de>: > Hi, > > when using paramsPrepareParamsStack with the convention plugin I'm getting > multiple errors/warnings in devMode=true: > > 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 = "paramsPrepareParamsStack", params > = {"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, which > 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 -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org