-
Notifications
You must be signed in to change notification settings - Fork 811
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
Upgrade DWR from 1.x to 2.x #283
Upgrade DWR from 1.x to 2.x #283
Conversation
- intended to resolve Jenkins build failure with old DWR version. pom.xml changes: - entry change in struts2-parent pom.xml - upgrade 1.1.1 (uk.ltd.getahead) -> 2.0.11-RELEASE (org.directwebremoting) - entry change in struts2-dwr-plugin pom.xml - entry change in struts2-showcase pom.xml
Unfortunately this plugin has zero test coverage and so we cannot verify if this upgrade breaks anything or not :( there are 8 years between those versions! |
We can use the Showcase app to manually test if it works or not. |
Hello @yasserzamani and @lukaszlenart . There is a As you stated earlier, there is no automated way to confirm there are not any breaking changes (currently I can only confirm it compiles the plugin and that nothing obvious appeared to fail in the showcase in a quick navigation run-through). It seems like upgrading to 2.x may be the only way to progress past the |
How do you test Anyway IMHO it seems undeniable to add a minimal main scenario covering unit test to this PR when we found some time. |
Hello @yasserzamani . I know next-to-nothing about As for the In terms of By commenting out all of the Don't know how the What do you think ? |
It looks good to me, just a reference to a JIRA ticket is missing :) Thank you! |
A |
Thank you! yesterday I tried to add an unit-test but was so complicated that I thought. It was needing mocking servletConfig, servletContext, request, response and etc for DWRServlet and in same time, to be able to execute a validation aware action outside of the core tests. So let's keep showcase manual test enough and merge :) |
LGTM 👍 |
Upgrade
DWR
from 1.x to 2.xpom.xml
changes:struts2-parent pom.xml
struts2-dwr-plugin pom.xml
struts2-showcase pom.xml