[ 
https://issues.apache.org/jira/browse/WW-5494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911461#comment-17911461
 ] 

Kusal Kithul-Godage commented on WW-5494:
-----------------------------------------

Hi [~afattahi] 

I'm happy to look into this one - are you able to upload a minimal sample 
application which reproduces the issue to assist me?

> 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)

Reply via email to