Skip to content
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-3714 Deprecate and repackage common APIs part 2.5 #1087

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

kusalk
Copy link
Member

@kusalk kusalk commented Oct 17, 2024

WW-3714

Ensure factory support for new Interceptor, Result interfaces introduced in #1079.

When Results and Interfaces are parsed and instantiated from XML configuration they are expected to be of the deprecated com.opensymphony.xwork2 types. We want to also ensure the new org.apache.struts2 types are supported. We cannot easily change the factory interface signatures without breaking compatibility for the associated extension points. Thus, we ensure these types are adapted within the default factory implementations instead. Additional helper code was needed to ensure that the marker interfaces ReflectionExceptionHandler, WithLazyParams, ParamNameAwareResult are still respected. This helper code can of course be completely discarded in Struts 7.0.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
43.6% Coverage on New Code (required ≥ 80%)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

Base automatically changed from kusal-depr-apis-3 to master October 22, 2024 07:03
@kusalk kusalk marked this pull request as ready for review October 22, 2024 07:03
@kusalk kusalk requested a review from lukaszlenart October 22, 2024 07:07
@kusalk
Copy link
Member Author

kusalk commented Oct 22, 2024

@lukaszlenart Sorry to bug you but I need this one reviewed and merged first (as the other PRs are stacked on top) 🙂

@kusalk kusalk merged commit 323267f into master Oct 22, 2024
8 of 9 checks passed
@kusalk kusalk deleted the kusal-depr-apis-3.5 branch October 22, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants