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

View/newJob.jelly assumes it is only ever invoked from Jenkins

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/View/newJob.jelly#L36 includes an implicit assumption that Views are not embedded within folders or other ItemGroups.

      Thus if you have Item.CREATE in a folder but not at the root of Jenkins you will see an ERROR message when following the newJob link and the "OK" button will remain disabled (as form validation is used to lock the button)

          [JENKINS-20509] View/newJob.jelly assumes it is only ever invoked from Jenkins

          Stephen Connolly created issue -
          Jesse Glick made changes -
          Labels New: folders
          Jesse Glick made changes -
          Assignee New: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-33755 [ JENKINS-33755 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 2192 (Web Link)" [ 14136 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          James Brown made changes -
          Labels Original: folders New: folders lts-candidate
          Daniel Beck made changes -
          Labels Original: folders lts-candidate New: folders
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 152034 ] New: JNJira + In-Review [ 194182 ]

            jglick Jesse Glick
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: