You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/11/26 20:30:10 UTC

[jira] [Updated] (ISIS-1241) Providing better feedback when RegEx validation does not match pattern

     [ https://issues.apache.org/jira/browse/ISIS-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-1241:
------------------------------
    Fix Version/s: 1.11.0

> Providing better feedback when RegEx validation does not match pattern
> ----------------------------------------------------------------------
>
>                 Key: ISIS-1241
>                 URL: https://issues.apache.org/jira/browse/ISIS-1241
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.9.0
>            Reporter: Yuri Tan
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.11.0
>
>
> Currently, when using RegEx validation, the error message could be improved. When the input isn't valid, the following string is shown: "Doesn't match pattern". But it doesn't tell you to which pattern the value must match. Therefore I think that adding regexPatternDescription() next to the existing regexPattern() could be an improvement. This way an incorrect pattern can be clarified to a human-being by returning the patternDescription. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)