-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WW-5190] Fixes StackOverflowException when dispatching request #571
Conversation
Coverage increased (+0.03%) to 50.658% when pulling cb59974 on WW-5190-match-action-proxy into 64d0542 on master. |
Is it simple to have a testWW5190 test method which tests that this issue is fixed? Sorry I couldn't understand the root cause to write a test. My best guess is that it's because of Struts FORWARD happens in same thread, is it? |
The simplest way is to define a dispatcher example in Showcase app and define an integration test for that. |
There is some discrepancy between |
Maybe we can merge and postpone this to another release? just to make sure that the release has minimal required changes to fix regressions. BTW how much time we do have do you know please? I like to find some free cycles and add an integration test to showcase app as you suggested , thanks! |
I have integration test but it won't work with the Showcase App because of those problems. |
So it makes sense to have those in this PR please. awesome!! thank you very much! |
@yasserzamani I extend description of the PR as the problem is a bit more complicated. My fix addresses only the broken support for forwarding to an another action when using |
This change is breaking my ExecuteAndWait implementations using the recommended refresh implementation. The resulting url appends the file with "!methodName" making the url invalid. A real world example is below:
Results in (v6.0.3)
Instead of (v6.0.0)
Using HTML Header
|
@burtonrhodes do you use DMI? |
I don't use DMI, but have no specific setting in my struts.xml file regarding it. However, given your suggestion, I specifically disabled DMI to see if that would help - but the result is still the same.
|
Ok, so please register a new JIRA ticket and we can start working on solution after figuring out what's wrong. |
This PR addresses a problem with forwarding to another JSP or action, but only in case if
StrutsExecuteAndPrepareFilter
is used - when combination ofStrutsPrepareFilter
&StrutsExecuteFilter
is used; forwarding to actions won't work - it's a large problem and will be addressed separately, this never worked tbh.Fixes WW-5190