-
Notifications
You must be signed in to change notification settings - Fork 41.2k
ErrorAttributeOptions.excluding throws IllegalArgumentException if includes is empty #24230
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
Conversation
…on when includes is empty. Fixes gh-24153
Did you target the wrong branch? |
@wanderleisouza thanks for the PR. Thanks @spencergibb, wrong branch indeed. I've fixed that and we can decide where to target this when we review/polish the PR. |
oh, thank you @snicoll and @spencergibb. I think it should be in 2.3.x, no? Let me know how to proceed (notice concourse-ci/status is broken due to boot:checkstyleTest). Should I submit a new PR? |
As I've already indicated we can merge the PR in the appropriate branches as part of reviewing the PR.
Ideally you should have built the project locally before submitting the PR, which would have revealed the build failure. We can also take care of that as part of reviewing. Please don't open a new PR as it'd create unnecessary noise. FYI, pushing additional changes to your existing branch will update this PR. |
@wanderleisouza thank you for making your first contribution to Spring Boot. I've polished it and applied to both I've reworked the tests in particular as the assertions were not running properly. It can be tricky with assertJ but the assertion should run "outside" of the main thing to assert. So |
Also sync up to master and 5.1.x on refactorings in ContentDisposition and ContentDispositionTests. Closes spring-projectsgh-24230
No description provided.