[ https://issues.apache.org/jira/browse/WW-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913629#comment-17913629 ]
Lukasz Lenart commented on WW-5494: ----------------------------------- Can we postpone this issue to another 6.x? > Using struts2.ActionSupport instead of xwork2.ActionSupport cause > interceptors stack corrupted > ---------------------------------------------------------------------------------------------- > > Key: WW-5494 > URL: https://issues.apache.org/jira/browse/WW-5494 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 6.7.0 > Reporter: Alireza Fattahi > Priority: Major > Fix For: 6.7.1 > > > In our project we have a `{*}OurBaseActionSupport{*} ` which extends > `{*}...xwork2.ActionSupport{*}` > We have two stacks: > {code:xml} > <interceptor-stack name="PrivateStack"> > <interceptor-ref name="loginCheck" /> > .....other interceptors > </interceptor-stack> > <interceptor-stack name="PublicStack"> > .....other interceptors > </interceptor-stack> > {code} > Now consider this action > {code:java} > > public class LoginProcess extends OurBaseActionSupport{ > @Action(value = "login-process-result", > interceptorRefs = { @InterceptorRef("PublicStack") } > public String result() > .... > {code} > It works fine... > Now If I change the `{*}OurBaseActionSupport{*}` and extend > `{*}org.apache.struts2.ActionSupport{*}` instead of > `{*}com.opensymphony.xwork2.ActionSupport{*}` the `{*}loginCheck{*}` is > called! -- This message was sent by Atlassian Jira (v8.20.10#820010)