[
https://issues.apache.org/jira/browse/WW-5251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830550#comment-17830550
]
Brian Andle commented on WW-5251:
---------------------------------
[~lukaszlenart] , should this change been done in Struts 7 instead of 6.x? We
have an application were we have external dependancies that also contain Struts
content and we are currently working on making the move from 2.5 to 6.x,
however the highest we can go in the core area of the application is 6.1.2.2
because the external content needs to also work against 2.5.
The change ultimately results in a breaking change, that also isn't called out
in
[https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migration]
or [https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.2.0]
The migration guide does say:
_A set of action related interfaces have been marked as deprecated. These
interfaces have a new proper versions in another package, please start using
the new versions as the depretacted interfaces will be removed with the next
major release._
However based on the new SemVer versioning isn't 7 the major?
> Remove deprecated interfaces used with ServletConfigInterceptor
> ---------------------------------------------------------------
>
> Key: WW-5251
> URL: https://issues.apache.org/jira/browse/WW-5251
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Reporter: Lukasz Lenart
> Assignee: Stefaan Dutry
> Priority: Major
> Fix For: 6.2.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{ServletConfigInterceptor}} supports a bunch of deprecated interfaces which
> already have proper replacement and they should be removed
> * {{org.apache.struts2.util.ServletContextAware}}
> * {{org.apache.struts2.interceptor.ServletRequestAware}}
> * {{org.apache.struts2.interceptor.ServletResponseAware}}
> * {{org.apache.struts2.interceptor.ParameterAware}}
> * {{org.apache.struts2.interceptor.SessionAware}}
> * {{org.apache.struts2.interceptor.ApplicationAware}}
> * {{org.apache.struts2.interceptor.PrincipalAware}}
> all these interfaces have proper replacement in {{org.apache.struts2.action}}
> package
--
This message was sent by Atlassian Jira
(v8.20.10#820010)