Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Bean Validation 2.0 CR3. Medellin JUG Results test
PostPosted: Sun Jul 16, 2017 5:40 pm 
Newbie

Joined: Thu Apr 27, 2017 8:04 am
Posts: 3
Last week, our JUG was working with the BV CR-3, we tested it, but had some issues, we posted the result on our site: https://medellinjug.org/.

[url]
https://medellinjug.org/2017/07/16/adop ... tested-it/[/url]

You can pull the code from github https://github.com/medellinjug/beanvalidation-2.0

We tested the new annotations @NotBlank, @NotEmpty, @Email, @FutureOrPresent, @PastOrPresent, @Positive,@PositiveOrZero, @Negative and @NegativeOrZero. Some of them with some issues:

Image

1. There are two diferents languages : @NotBlank, @NotEmpty are in Spanish, the others in English.

2. Two annotations don’t show messages for the validation:@FutureOrPresent and @PastOrPresent

3. @Email validate only the input has a “@” and some text after the @,

4. @FutureOrPresent goes well if the date is next year, with a future date of the this year (2017) there is a validation message, and @PastOrPresent with a future date in the actual ayer (2017) the validation was ignored

Image

We will be grateful if you says us what can be the problems


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.