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

Bean validation issue for numbers #1035

Closed
flange-ipb opened this issue Nov 20, 2018 · 2 comments
Closed

Bean validation issue for numbers #1035

flange-ipb opened this issue Nov 20, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@flange-ipb
Copy link

flange-ipb commented Nov 20, 2018

Bean validation for numbers with @Min and/or @Max for b:inputText seems to be broken since BF 1.3.0. You can also reproduce this problem in the Showcase.
It seems the validator receives a String instead of a Number causing a java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number.

@flange-ipb
Copy link
Author

Ok, I just checked 1.4.0-SNAPSHOT - the issue seems to be resolved there. Feel free to close this ticket.

@stephanrauh
Copy link
Collaborator

Thanks for opening and double-checking the issue!

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