Repository navigation
Conversation
…el validations are defined. Fixes #18120
…s() to perform explicit checks
Test Results1 240 files ± 0 1 240 suites ±0 1h 13m 14s ⏱️ - 3m 17s Results for commit ff617a8. ± Comparison against base commit 4ec0547. This pull request removes 3 and adds 3 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
|
Kudos, SonarCloud Quality Gate passed!
|
|
This should be postponed until major release of Flow (25), as this is a behaviour change. |
|
|
|
…en configured but no bean is currently set" when in buffered mode (#18121) * fix: Binder.validate() no longer fails in buffered mode when bean-level validations are defined. Fixes #18120 --------- Co-authored-by: Peter Czuczor <61667986+czp13@users.noreply.github.com> Co-authored-by: Teppo Kurki <teppo.kurki@vaadin.com>











Description
This PR makes the Binder.validate() implementation in line with its javadoc. Namely, Binder.validate() no longer fails with "bean level validators have been configured but no bean is currently set" when in buffered mode, which is according to the current javadoc: "Bean level validators are ignored if there is no bound bean or if any field level validator fails."
Fixes #18120
Type of change
Checklist
Additional for
Featuretype of change