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
Fix BasicErrorController to use binding error cfg #21702
Conversation
`server.error.include-binding-errors` had no effect on BasicErrorController.isIncludeBindingErrors(), due to wrong property being used
@Aurdo Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@Aurdo Thank you for signing the Contributor License Agreement! |
Good catch @Aurdo, thanks. This was my copy-and-paste mistake that happened when the control of the The reason this wasn't caught earlier is that the tests to verify the behavior of If you'd like, you can also modify |
@scottfrederick whatever works for you is fine with me. Just not sure how long would it take to clone and import project locally |
@Aurdo If you haven't cloned, imported, and built the project already don't worry about it. I'll fix up the tests. |
This commit fixes an error in BasicErrorController where the wrong property was referenced for binding error inclusion. See gh-21702
This commit improves the tests for BasicErrorController by decoupling coverage for the include-message and include-binding-errors parameters to ensure the options operate properly independent of each other. See gh-21702
server.error.include-binding-errors
had no effect on BasicErrorController.isIncludeBindingErrors(), due to wrong property being used