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

Class level constraint violation not reported at field level when a change in the field view does not trigger a model update #195

Closed
amischler opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@amischler
Copy link
Member

Define a class with a class level validator that report a violation at the level of a given field.
Show an FXForm with such a bean.
Enter an invalid value in that field (let's say "4")
Enter a new value in that field that is still invalid but that will not trigger a model update since the value is the same, i.e. "4." (note the '.' after the 4)
FXForm performs a validation at field level and clear existing contraints but does not perform a new full class level validation, thus the constraint violation from the class level validator on this field is not shown anymore.

@amischler amischler self-assigned this Feb 2, 2021
@amischler amischler added the bug label Feb 2, 2021
amischler added a commit that referenced this issue Feb 2, 2021
…hange in the field view does not trigger a model update #195
amischler added a commit that referenced this issue Feb 2, 2021
…hange in the field view does not trigger a model update #195

(cherry picked from commit 0f97bf0)
@Rizen59 Rizen59 added this to the 8.2.7 milestone Feb 19, 2021
@Rizen59 Rizen59 closed this as completed Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants