You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2012/10/23 15:47:12 UTC
[jira] [Commented] (SYNCOPE-212) Provide Validation Error message
to user
[ https://issues.apache.org/jira/browse/SYNCOPE-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482325#comment-13482325 ]
Francesco Chicchiriccò commented on SYNCOPE-212:
------------------------------------------------
Colm, your patch looks very fine!
+1 for me
> Provide Validation Error message to user
> ----------------------------------------
>
> Key: SYNCOPE-212
> URL: https://issues.apache.org/jira/browse/SYNCOPE-212
> Project: Syncope
> Issue Type: Improvement
> Components: console, core
> Affects Versions: 1.0.1-incubating
> Reporter: Jan Bernhardt
> Assignee: Colm O hEigeartaigh
> Fix For: 1.1.0-incubating
>
> Attachments: syncope-212.patch
>
>
> If values are entered into a field that uses a validator, you will only get a notification that your validation failed for a specific attribute. But a user will get no hints, about what was wrong and how a valid value would look like.
> InvalidAttrValueException only takes an Attribute. InvalidAttrValueException should also provide a method that contains a message String. By doing so a user could get notified why his value is invalid and how a good example would look like!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira