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

Save of job configuration doesn't work after removing a parameter under 'This build is parameterized'

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Jenkins ver. 1.554
      Chrome 33

      Situation: Having a job with two Parameters set in section 'This build is parameterized'.

      Issue: After removing a parameter (it doesn't matter what kind), hitting the Save button for saving the job configuration does not do anything.

      Steps to reproduce:

      1. Create a new free style job
      2. Tick the box before 'This build is parameterized'
      3. Add two parameters, e.g.
        1. Choice Parameter
        2. Boolean Parameter
      4. Save the configuration
      5. Re-open the configuration
      6. Click on the 'Delete' button of the Boolean Parameter under the 'This build is parameterized' section
        • Now you will see that nothing happens

          [JENKINS-22275] Save of job configuration doesn't work after removing a parameter under 'This build is parameterized'

          Daniel Beck added a comment -

          JENKINS-22582 looks a lot like this, and is fixed in 1.560. Can anyone confirm whether this issue is also fixed?

          Daniel Beck added a comment - JENKINS-22582 looks a lot like this, and is fixed in 1.560. Can anyone confirm whether this issue is also fixed?

          Daniel Beck added a comment -

          Let's assume this duplicates JENKINS-22582 and is fixed in 1.560. This issue can always be reopened, or a new issue can be filed, if this still happens in 1.560+.

          (Please file a new issue if it happens in versions much newer than 1.560, say 1.580 or higher given that it might be an unrelated issue with the same symptoms)

          Daniel Beck added a comment - Let's assume this duplicates JENKINS-22582 and is fixed in 1.560. This issue can always be reopened, or a new issue can be filed, if this still happens in 1.560+. (Please file a new issue if it happens in versions much newer than 1.560, say 1.580 or higher given that it might be an unrelated issue with the same symptoms)

          Erik Purins added a comment - - edited

          Although this has been resolved as dupe, I am seeing this in 1.556 (linked bug 22582 is assumed the dupe, but was fixed 1.554). The behavior I see occurs in Safari and Opera on mac, and the behavior described (removing a defined parameter) is one instance that can cause this.

          I see a javascript warning in opera, 'event.returnValue is deprecated. Please use the standard event.preventDefault() instead.'

          Erik Purins added a comment - - edited Although this has been resolved as dupe, I am seeing this in 1.556 (linked bug 22582 is assumed the dupe, but was fixed 1.554). The behavior I see occurs in Safari and Opera on mac, and the behavior described (removing a defined parameter) is one instance that can cause this. I see a javascript warning in opera, 'event.returnValue is deprecated. Please use the standard event.preventDefault() instead.'

          ikedam added a comment -

          I cannot get your point.
          As @danielbeck said, JENKINS-22582 is fixed in 1.560.
          And it's not strange Jenkins 1.556 is still affected by that problem.
          What tells you JENKINS-21582 is fixed in 1.554?

          ikedam added a comment - I cannot get your point. As @danielbeck said, JENKINS-22582 is fixed in 1.560. And it's not strange Jenkins 1.556 is still affected by that problem. What tells you JENKINS-21582 is fixed in 1.554?

          Daniel Beck added a comment - - edited

          Erik: The label '1.554.2-fixed' on the linked issue means that the fix was backported to the current line of stable Jenkins releases.

          As you can see from the commit linked in the linked issue's comments, it was first included in 1.560.

          Daniel Beck added a comment - - edited Erik: The label '1.554.2-fixed' on the linked issue means that the fix was backported to the current line of stable Jenkins releases . As you can see from the commit linked in the linked issue's comments, it was first included in 1.560 .

          Erik Purins added a comment -

          Thanks Daniel for explaining the backport tag; ikedam, I read the backport tag and assumed that meant the issue was claimed fixed in earlier version, which is why I mentioned my issue.

          Erik Purins added a comment - Thanks Daniel for explaining the backport tag; ikedam, I read the backport tag and assumed that meant the issue was claimed fixed in earlier version, which is why I mentioned my issue.

          Ken Garland added a comment -

          Looks like this issue is back with 1.569

          Ken Garland added a comment - Looks like this issue is back with 1.569

          Daniel Beck added a comment -

          outspoken: Is that a typo, or are you referring to a >6 months old release?

          Daniel Beck added a comment - outspoken : Is that a typo, or are you referring to a >6 months old release?

          Ken Garland added a comment - - edited

          Typo... Jenkins ver. 1.596

          I can get it to work in Safari but Chrome (even Chrome Canary) doesn't work.

          Ken Garland added a comment - - edited Typo... Jenkins ver. 1.596 I can get it to work in Safari but Chrome (even Chrome Canary) doesn't work.

          Daniel Beck added a comment -

          Cannot reproduce the issue on a pristine instance of 1.596 with Chrome 39, therefore resolving again. Note that nightly, alpha, beta, or Canary versions of browsers are not supported, see https://wiki.jenkins-ci.org/display/JENKINS/Browser+Compatibility+Matrix

          Please read https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue and file a new issue that can be investigated independently from this one (i.e. let's not spam the watchers), as the problem you're experiencing seems to only occur on some circumstances.

          Daniel Beck added a comment - Cannot reproduce the issue on a pristine instance of 1.596 with Chrome 39, therefore resolving again. Note that nightly, alpha, beta, or Canary versions of browsers are not supported, see https://wiki.jenkins-ci.org/display/JENKINS/Browser+Compatibility+Matrix Please read https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue and file a new issue that can be investigated independently from this one (i.e. let's not spam the watchers), as the problem you're experiencing seems to only occur on some circumstances.

            Unassigned Unassigned
            johanh Johan H
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: