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

JerseyAutoConfiguration:requestContextFilter struggles with WebMvcAutoConfiguration:requestContextFilter #41316

Closed
cpiepel opened this issue Jul 4, 2024 · 3 comments

Comments

@cpiepel
Copy link

cpiepel commented Jul 4, 2024

As described in #15048, the requestContextFilter bean from JerseyAutoConfiguration struggles with the request ContextFilter bean from WebMvcAutoConfiguration. @wilkinsona was going to remove Jersey's RequestContextFilter.

Maybe due to the restore of JerseyAutoConfiguration, requestContextFilter from JerseyAutoConfiguration was also restored.

Can you please check this.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 4, 2024
@wilkinsona
Copy link
Member

The auto-configuration of a requestContextFilter bean was reinstated in 2.1.3 as its removal caused a regression. Its presence in 3.x is intentional.

In what way is there a struggle here? When both Spring MVC and Jersey are being used, you should end up with a single RequestContextFilter bean. As described in #15376, there are also application properties that can be used to fine-tune the filter's ordering.

If you would like us to spend some more time investigating, please spend some time providing a complete yet minimal sample that reproduces the problem. You can share it with us by pushing it to a separate repository on GitHub or by zipping it up and attaching it to this issue.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Jul 4, 2024
@spring-projects-issues
Copy link
Collaborator

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-projects-issues spring-projects-issues added the status: feedback-reminder We've sent a reminder that we need additional information before we can continue label Jul 11, 2024
@spring-projects-issues
Copy link
Collaborator

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

@spring-projects-issues spring-projects-issues closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@spring-projects-issues spring-projects-issues removed status: waiting-for-feedback We need additional information before we can continue status: feedback-reminder We've sent a reminder that we need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Jul 18, 2024
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

No branches or pull requests

3 participants