Alireza Fattahi created WW-5494:
-----------------------------------
Summary: Using ActionSupport instead of xwork2.ActionSupport case
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
In our project we have a `OurBaseActionSupport ` which extends
`...xwork2.ActionSupport`
We have two stacks:
```xml
<interceptor-stack name="PrivateStack">
<interceptor-ref name="loginCheck" />
.....other interceptors
</interceptor-stack>
<interceptor-stack name="PublicStack">
.....other interceptors
</interceptor-stack>
```
Now consider this action
```java
public class LoginProcess extends OurBaseActionSupport {
@Action(value = "login-process-result",
interceptorRefs = \{ @InterceptorRef("PublicStack") },
public String result()
....
````
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)