Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1241

Providing better feedback when RegEx validation does not match pattern

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.11.0
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yrtan Yuri Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: