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

Parameterized build can not save the "Parameter Description" in the first time

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Jenkins latest version 1.563

      Job -> Configuration -> This build is parameterized -> "add some kind of parameter" -> "enter some description" -> Save

      For this case, we do the 1st "Save" action, it doesn't make sense. the "description" disappear.
      We need to re-configuration for the Job parameter description. Save in 2ed time.

          [JENKINS-23026] Parameterized build can not save the "Parameter Description" in the first time

          Daniel Beck added a comment -

          Yes, I'm serious (I could be wrong though). While there is "loss of data", it's a parameter description, not your released build (or even a script like JENKINS-23151). Let's not overrate it.

          Daniel Beck added a comment - Yes, I'm serious (I could be wrong though). While there is "loss of data", it's a parameter description, not your released build (or even a script like JENKINS-23151 ). Let's not overrate it.

          Chris Tutty added a comment -

          I withdraw (after reading the definition of "Major" while posting a related bug which I obviously should have done before commenting). It's the kind of thing that I don't like seeing trivialised, but I think you're correct in assessing it as Minor.

          Chris Tutty added a comment - I withdraw (after reading the definition of "Major" while posting a related bug which I obviously should have done before commenting). It's the kind of thing that I don't like seeing trivialised, but I think you're correct in assessing it as Minor.

          Daniel Beck added a comment -

          As mentioned in the comments to JENKINS-23148, the new CodeMirror also breaks accessibility for blind users.

          Daniel Beck added a comment - As mentioned in the comments to JENKINS-23148 , the new CodeMirror also breaks accessibility for blind users.

          Hi, I've the same problem. The behaviour is the same as in Jenkins-23151 bug. The workaround also in this case is to "apply" the modifications (the new build parameter description) before saving

          Donato Tagliabue added a comment - Hi, I've the same problem. The behaviour is the same as in Jenkins-23151 bug. The workaround also in this case is to "apply" the modifications (the new build parameter description) before saving

          Daniel Beck added a comment -

          Another workaround if using "Safe HTML" markup formatter: Disable syntax highlighting.

          Daniel Beck added a comment - Another workaround if using "Safe HTML" markup formatter: Disable syntax highlighting.

          Jesse Glick added a comment -

          This is essentially a duplicate of JENKINS-23151, though affecting a different textarea this time.

          Jesse Glick added a comment - This is essentially a duplicate of JENKINS-23151 , though affecting a different textarea this time.

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          core/src/main/resources/hudson/tasks/Shell/config.groovy
          core/src/main/resources/lib/form/textarea/textarea.js
          http://jenkins-ci.org/commit/jenkins/4e48eaa05ca3a76fcb0e1eee307fd20f222079bc
          Log:
          [FIXED JENKINS-23151, JENKINS-23026] Save CodeMirror editor when it loses focus

          • Save CM editor when it loses focus to ensure that test is saved back to textarea
          • Turn on again CM editor for shell scripts

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: core/src/main/resources/hudson/tasks/Shell/config.groovy core/src/main/resources/lib/form/textarea/textarea.js http://jenkins-ci.org/commit/jenkins/4e48eaa05ca3a76fcb0e1eee307fd20f222079bc Log: [FIXED JENKINS-23151, JENKINS-23026] Save CodeMirror editor when it loses focus Save CM editor when it loses focus to ensure that test is saved back to textarea Turn on again CM editor for shell scripts

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3935
          [FIXED JENKINS-23151, JENKINS-23026] Save CodeMirror editor when it loses focus (Revision 4e48eaa05ca3a76fcb0e1eee307fd20f222079bc)

          Result = UNSTABLE
          vojtech juranek : 4e48eaa05ca3a76fcb0e1eee307fd20f222079bc
          Files :

          • core/src/main/resources/lib/form/textarea/textarea.js
          • core/src/main/resources/hudson/tasks/Shell/config.groovy

          dogfood added a comment - Integrated in jenkins_main_trunk #3935 [FIXED JENKINS-23151, JENKINS-23026] Save CodeMirror editor when it loses focus (Revision 4e48eaa05ca3a76fcb0e1eee307fd20f222079bc) Result = UNSTABLE vojtech juranek : 4e48eaa05ca3a76fcb0e1eee307fd20f222079bc Files : core/src/main/resources/lib/form/textarea/textarea.js core/src/main/resources/hudson/tasks/Shell/config.groovy

          Daniel Beck added a comment -

          Appears to have been fixed in Jan 2015.

          Daniel Beck added a comment - Appears to have been fixed in Jan 2015.

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/resources/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinition/config.jelly
          http://jenkins-ci.org/commit/matrix-combinations-plugin/cabe08ab7a000a835f41950653e41348f020aa7c
          Log:
          JENKINS-42902 Disable codemirror

          codemirror feature for dynamic fragments are affected by JENKINS-23026 till Jenkins 1.597.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/resources/hudson/plugins/matrix_configuration_parameter/MatrixCombinationsParameterDefinition/config.jelly http://jenkins-ci.org/commit/matrix-combinations-plugin/cabe08ab7a000a835f41950653e41348f020aa7c Log: JENKINS-42902 Disable codemirror codemirror feature for dynamic fragments are affected by JENKINS-23026 till Jenkins 1.597.

            Unassigned Unassigned
            xiaopan3322 Bao Xiaopan(Bob)
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: