[ https://issues.apache.org/jira/browse/WW-4390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110429#comment-14110429 ]
Fabian Richter commented on WW-4390: ------------------------------------ Thx, download of SNAPSHOT did work now. Although I have multiple errors in my actions (anything added that broke backwards compatability?), the token problem changed its nature: When I submit a form that has <s:token /> now, even at the first try I get the error that I tried to submit a form that was already submitted and in my log it says: com.opensymphony.xwork2.util.logging.commons.CommonsLogger:warn WARN Could not find token name in params. > 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)