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

Register ExceptionHandling bean before WebMvcAutoConfiguration #536

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Register ExceptionHandling bean before WebMvcAutoConfiguration #536

merged 1 commit into from
Sep 23, 2020

Conversation

cberg-zalando
Copy link
Member

Description

The fix, which I provided in #513 is not sufficient enough. While it registers the ExceptionHandling as bean, it is already to late for Spring's ExceptionHandlerExceptionResolver class to pick it up.

Motivation and Context

The change makes auto configuration work again as expected.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@whiskeysierra
Copy link
Collaborator

👍

@whiskeysierra whiskeysierra merged commit ca0329a into zalando:main Sep 23, 2020
@cberg-zalando cberg-zalando deleted the register-exeception-handling-early-enough branch September 24, 2020 05:13
@cberg-zalando
Copy link
Member Author

@whiskeysierra Can you also do a new release for this?

@whiskeysierra
Copy link
Collaborator

Released as 0.26.2

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