Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12798

Remove `Java` from validation message for settings of type 'regex pattern'

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1
    • Component/s: Settings
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      When setting an incorrect regular expression is settings, the current error message is: 

      Validation failed. Not a valid Java regular expression

      Talking about Java might not be helpful and can even be confusing for people who won't see the link between the parameter they are configuring and Java.

      The message should rather say: 

      Validation failed. Regular expression must be valid

        Attachments

          Activity

            People

            Assignee:
            michal.duda Michal Duda (Inactive)
            Reporter:
            michal.duda Michal Duda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: