Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-8100

Exception thrown by validate() method of custom Validator handled as a server error

    XMLWordPrintable

Details

    Description

      I've made a custom Validator for workflow transitions that checks that a given field isn't left empty.
      As required, the validate() method of the Validator throws an InvalidInputException when the user leaves the field empty.

      Problem: this exceptions is treated as a server error by JIRA and written in the log files and on the console!

      Bad user input is not a server error, it is a normal use case... I'd like my validator to behave just like a normal date/time or username validator.

      Thanks for any help...
      Rémy.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e5e14e4e5311 Rémy Mouton
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: