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

Jenkins 2.0 - New Item interface does not print validation messages

    XMLWordPrintable

Details

    Description

      Name validation messages in the "Create Item" UI are not being displayed in 2.0 "Create Item" interface.
      It impacts use-cases based on the item names.

      • Jenkins core's Regex naming strategy does not display the warnings anymore
      • Role Strategy plugin cannot validate permission patterns for Item.CREATE
      • Various advisory tools for names cannot be used as well (I had private-source plugins, which used to integrate name filters with Ownership plugin)

      Attachments

        Issue Links

          Activity

            danielbeck Daniel Beck added a comment -

            Blocker as it was a condition for approving code review: https://github.com/jenkinsci/jenkins/pull/2117#issuecomment-200451895

            danielbeck Daniel Beck added a comment - Blocker as it was a condition for approving code review: https://github.com/jenkinsci/jenkins/pull/2117#issuecomment-200451895
            jglick Jesse Glick added a comment -

            Possibly same root cause as JENKINS-33774: the validation JavaScript is apparently inactive on this page.

            jglick Jesse Glick added a comment - Possibly same root cause as JENKINS-33774 : the validation JavaScript is apparently inactive on this page.

            Code changed in jenkins
            User: recena
            Path:
            core/src/main/resources/hudson/model/View/newJob.jelly
            war/src/main/js/add-item.js
            http://jenkins-ci.org/commit/jenkins/e74075ef849bbdce3bb870d3866121474659ae2c
            Log:
            JENKINS-33755 Used checkJobName service for validating the item name

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: core/src/main/resources/hudson/model/View/newJob.jelly war/src/main/js/add-item.js http://jenkins-ci.org/commit/jenkins/e74075ef849bbdce3bb870d3866121474659ae2c Log: JENKINS-33755 Used checkJobName service for validating the item name

            Code changed in jenkins
            User: recena
            Path:
            core/src/main/resources/hudson/model/View/newJob.jelly
            war/src/main/js/add-item.js
            war/src/main/js/widgets/add/addform.less
            http://jenkins-ci.org/commit/jenkins/f071478861ee170245d06ba96684b5f779ea459c
            Log:
            JENKINS-33755 Added border in default icons

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: core/src/main/resources/hudson/model/View/newJob.jelly war/src/main/js/add-item.js war/src/main/js/widgets/add/addform.less http://jenkins-ci.org/commit/jenkins/f071478861ee170245d06ba96684b5f779ea459c Log: JENKINS-33755 Added border in default icons

            Code changed in jenkins
            User: recena
            Path:
            war/src/main/js/add-item.js
            http://jenkins-ci.org/commit/jenkins/827f4c56525ae8a6161ebfb026f03e1471f5b47d
            Log:
            JENKINS-33755 Modified the URL used for checkJobName

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: war/src/main/js/add-item.js http://jenkins-ci.org/commit/jenkins/827f4c56525ae8a6161ebfb026f03e1471f5b47d Log: JENKINS-33755 Modified the URL used for checkJobName

            Code changed in jenkins
            User: recena
            Path:
            core/src/main/resources/hudson/model/View/newJob.properties
            http://jenkins-ci.org/commit/jenkins/fb3c060f92f8832cbdd5efc1bc63eb558451efb2
            Log:
            JENKINS-33755 Removed an unused property

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: core/src/main/resources/hudson/model/View/newJob.properties http://jenkins-ci.org/commit/jenkins/fb3c060f92f8832cbdd5efc1bc63eb558451efb2 Log: JENKINS-33755 Removed an unused property

            Code changed in jenkins
            User: recena
            Path:
            core/src/main/resources/hudson/model/View/newJob.jelly
            core/src/main/resources/hudson/model/View/newJob.properties
            war/src/main/js/widgets/add/addform.less
            http://jenkins-ci.org/commit/jenkins/bfd6adc5cbfa06a04c8a43456624302b8157c990
            Log:
            JENKINS-33755 Better support for l10n

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: core/src/main/resources/hudson/model/View/newJob.jelly core/src/main/resources/hudson/model/View/newJob.properties war/src/main/js/widgets/add/addform.less http://jenkins-ci.org/commit/jenkins/bfd6adc5cbfa06a04c8a43456624302b8157c990 Log: JENKINS-33755 Better support for l10n

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/resources/hudson/model/View/newJob.jelly
            core/src/main/resources/hudson/model/View/newJob.properties
            war/src/main/js/add-item.js
            war/src/main/js/add-item.less
            war/src/main/js/widgets/add/addform.less
            http://jenkins-ci.org/commit/jenkins/ef08dc1d7280e2817e59d967b7f0f40fa13252b0
            Log:
            Merge pull request #2191 from recena/newitem-polish

            [FIXED JENKINS-33774] [FIXED JENKINS-33755] New item option

            Compare: https://github.com/jenkinsci/jenkins/compare/360cfcdcc87f...ef08dc1d7280

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/resources/hudson/model/View/newJob.jelly core/src/main/resources/hudson/model/View/newJob.properties war/src/main/js/add-item.js war/src/main/js/add-item.less war/src/main/js/widgets/add/addform.less http://jenkins-ci.org/commit/jenkins/ef08dc1d7280e2817e59d967b7f0f40fa13252b0 Log: Merge pull request #2191 from recena/newitem-polish [FIXED JENKINS-33774] [FIXED JENKINS-33755] New item option Compare: https://github.com/jenkinsci/jenkins/compare/360cfcdcc87f...ef08dc1d7280
            jglick Jesse Glick added a comment -

            stupid JIRA link daemon

            jglick Jesse Glick added a comment - stupid JIRA link daemon

            Code changed in jenkins
            User: recena
            Path:
            war/src/main/js/add-item.js
            http://jenkins-ci.org/commit/jenkins/9f2f827023c4074875ce2fb28d2313b54861c764
            Log:
            JENKINS-33755 Better usage of focus behavior

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: recena Path: war/src/main/js/add-item.js http://jenkins-ci.org/commit/jenkins/9f2f827023c4074875ce2fb28d2313b54861c764 Log: JENKINS-33755 Better usage of focus behavior

            Code changed in jenkins
            User: Daniel Beck
            Path:
            war/src/main/js/add-item.js
            http://jenkins-ci.org/commit/jenkins/2bd03eebb6c7c89deb522a9d8375277a3d5b77d2
            Log:
            Merge pull request #2206 from recena/focus

            JENKINS-33755 Better usage of focus behavior

            Compare: https://github.com/jenkinsci/jenkins/compare/b633f883477a...2bd03eebb6c7

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: war/src/main/js/add-item.js http://jenkins-ci.org/commit/jenkins/2bd03eebb6c7c89deb522a9d8375277a3d5b77d2 Log: Merge pull request #2206 from recena/focus JENKINS-33755 Better usage of focus behavior Compare: https://github.com/jenkinsci/jenkins/compare/b633f883477a...2bd03eebb6c7

            People

              recena Manuel Recena Soto
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: