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

regression: Upgrading to 1.528 ("Upgrade Automatically") breaks "configure"

      When upgrading from 1.527 to 1.528, no jobs can be edited anymore!

      When clicking the configure button (or going to jobname/configure), it starts loading the fields and filling in the data from the configuration, but the "LOADING" overlay never disappears, and the job settings can't be changed.

      When looking at the web browser console, I see a lot of ajax POST requests from the browser, but the LOADING never disappears.

      Downgrading to 1.527 solves the problem.

      Are there any more logs I can attach to help solving the problem?

          [JENKINS-19248] regression: Upgrading to 1.528 ("Upgrade Automatically") breaks "configure"

          rggjan created issue -
          rggjan made changes -
          Summary Original: Upgrading to 1.524 ("Upgrade Automatically") breaks "configure" New: Upgrading to 1.528 ("Upgrade Automatically") breaks "configure"

          I can confirm this issue: There is a javascript error triggered:
          Timestamp: 19.08.2013 11:40:43
          Error: SyntaxError: invalid regular expression flag j
          Source File: http://trac.frm2.tum.de/jenkins/static/5e152190/scripts/hudson-behavior.js
          Line: 416, Column: 9
          Source Code:
          /jenkins/job/FreeBSDUpdatePort/descriptorByName/jenkins.plugins.publi

          ...
          // Behavior rules
          //========================================================
          // using tag names in CSS selector makes the processing faster
          function registerValidator(e) {
          e.targetElement = findFollowingTR(e, "validation-error-area").firstChild.nextSibling;
          e.targetUrl = function() {
          var url = this.getAttribute("checkUrl");
          var depends = this.getAttribute("checkDependsOn");

          if (depends==null)

          {// legacy behaviour where checkUrl is a JavaScript return eval(url); // need access to 'this', so no 'geval' <--- this is line 416 }

          else {
          var q = qs(this).addThis();
          if (depends.length>0)
          depends.split(" ").each(function

          { q.nearBy(n); }

          );
          return url+ q.toString();
          }
          };

          ...

          Björn Pedersen added a comment - I can confirm this issue: There is a javascript error triggered: Timestamp: 19.08.2013 11:40:43 Error: SyntaxError: invalid regular expression flag j Source File: http://trac.frm2.tum.de/jenkins/static/5e152190/scripts/hudson-behavior.js Line: 416, Column: 9 Source Code: /jenkins/job/FreeBSDUpdatePort/descriptorByName/jenkins.plugins.publi ... // Behavior rules //======================================================== // using tag names in CSS selector makes the processing faster function registerValidator(e) { e.targetElement = findFollowingTR(e, "validation-error-area").firstChild.nextSibling; e.targetUrl = function() { var url = this.getAttribute("checkUrl"); var depends = this.getAttribute("checkDependsOn"); if (depends==null) {// legacy behaviour where checkUrl is a JavaScript return eval(url); // need access to 'this', so no 'geval' <--- this is line 416 } else { var q = qs(this).addThis(); if (depends.length>0) depends.split(" ").each(function { q.nearBy(n); } ); return url+ q.toString(); } }; ...

          Getting same error on upgrade to 1.528

          File was modified as part of https://issues.jenkins-ci.org/browse/JENKINS-19124

          Geoff Cummings added a comment - Getting same error on upgrade to 1.528 File was modified as part of https://issues.jenkins-ci.org/browse/JENKINS-19124
          Geoff Cummings made changes -
          Link New: This issue is related to JENKINS-19246 [ JENKINS-19246 ]

          Code change was part of JENKINS-19124

          Geoff Cummings added a comment - Code change was part of JENKINS-19124
          Geoff Cummings made changes -
          Link New: This issue is related to JENKINS-19124 [ JENKINS-19124 ]

          Changing component to Core

          Geoff Cummings added a comment - Changing component to Core
          Geoff Cummings made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: config-autorefresh [ 15871 ]
          Assignee Original: jieryn [ jieryn ]

          mine sames to fail when processing

          url=/jenkins/job/JOB_NAME/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkExecCommand
          depends=null

          Uncaught SyntaxError: Unexpected token ILLEGAL

          Geoff Cummings added a comment - mine sames to fail when processing url=/jenkins/job/JOB_NAME/descriptorByName/jenkins.plugins.publish_over_ssh.BapSshTransfer/checkExecCommand depends=null Uncaught SyntaxError: Unexpected token ILLEGAL

            bap bap
            rggjan rggjan
            Votes:
            53 Vote for this issue
            Watchers:
            70 Start watching this issue

              Created:
              Updated:
              Resolved: