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

hasClassName is not a function

XMLWordPrintable

      Steps to reproduce:

      1. Install 2.267 and go through the wizard installing no plugins
      2. Create a new freestyle job
      3. Add a "Execute Windows batch command" build step
      4. Click Advanced
      5. Click Add environment filter
      6. Select "Only keep"

      Expected Result:

      It works

      Actual Result:

      See screenshot. Console says:

      Uncaught TypeError: h.hasClassName is not a function
          prepareDD http://localhost:8080/adjuncts/813d7f4b/lib/form/dragdrop/dragdrop.js:16
          <anonymous> http://localhost:8080/adjuncts/813d7f4b/lib/form/hetero-list/hetero-list.js:104
          renderOnDemand http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:684
          next http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:723
          sequencer http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:726
          evalInnerHtmlScripts http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:711
          renderOnDemand http://localhost:8080/static/813d7f4b/scripts/hudson-behavior.js:682
          onSuccess http://localhost:8080/adjuncts/813d7f4b/org/kohsuke/stapler/bind.js:57
          respondToReadyState http://localhost:8080/static/813d7f4b/scripts/prototype.js:1657
          onStateChange http://localhost:8080/static/813d7f4b/scripts/prototype.js:1600
          bind http://localhost:8080/static/813d7f4b/scripts/prototype.js:414
      

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: