Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41546

Clearer plain text validation messages

    Details

    • Similar Issues:
    • Sprint:
      pannonian, iapetus

      Description

      If you make a mistake such as not adding a step to a stage, you will correctly see a validation warning, and a message like the attached.

      Presumably this is coming back via PMD - so in all likelihood this ticket should be transferred to that.

      Currently says:

      'Array has 0 entries, requires minimum of 1'

      When ideally in the users terms it would say "A stage requires at least one step". Ideally not the UI job to translate, but just putting it here for discussion.

        Attachments

          Activity

          Hide
          kzantow Keith Zantow added a comment -

          I used slightly different text for this, it's included in PR 23, we can change the text if you want.
          https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/23/files#diff-1af0266b7d6aed3e555239adc0df710bR80

          Show
          kzantow Keith Zantow added a comment - I used slightly different text for this, it's included in PR 23, we can change the text if you want. https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/23/files#diff-1af0266b7d6aed3e555239adc0df710bR80

            People

            • Assignee:
              kzantow Keith Zantow
              Reporter:
              michaelneale Michael Neale
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: