Using a workflow validator and using the name in the exception results in an error in the attached screenshot:

      throw new com.opensymphony.workflow.InvalidInputException("summary", "Summary is incorrect")

      The expectation is that the error message will be displayed next to the summary field.

      The following will not work:

      throw new InvalidInputException("summary", "Summary is incorrect")
      

      But the following will work although not by the field:

      throw new InvalidInputException("Summary is incorrect")
      

            [JSDSERVER-3592] Workflow validators result in error when using name

            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2305116 ] New: JAC Bug Workflow v3 [ 3125514 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Eric Storch (Inactive) made changes -
            Link New: This issue is blocked by JSDSERVER-5781 [ JSDSERVER-5781 ]
            Jonny Carter made changes -
            Attachment New: The Slightly Better Error Message.png [ 314048 ]
            Jonny Carter made changes -
            Attachment New: The Bad Error Message.png [ 314047 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 2059043 ] New: JSD Bug Workflow v5 - TEMP [ 2305116 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2056435 ] New: JSD Bug Workflow v5 [ 2059043 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 1955996 ] New: JSD Bug Workflow v5 - TEMP [ 2056435 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v4 [ 1615994 ] New: JSD Bug Workflow v5 [ 1955996 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v2 [ 1603189 ] New: JSD Bug Workflow v4 [ 1615994 ]

              pteen pat (Inactive)
              4c1113d0d9eb adammarkham
              Affected customers:
              1 This affects my team
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: