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

codemirror-mode on f:textarea broken (was: Execute shell build step text not saved properly)

      When I create a simple project and add Execute shell task,
      after save, the task contents are empty.
      config.xml on the server is empty too:

      <hudson.tasks.Shell><command/></hudson.tasks.Shell>
      

      When editing the config a second time, the contents are saved properly.
      Each consecutive add of shell task requires a second edit.

      When using inheritance plugin, there is no way to workaround the bug, since each edit creates new revision, and all shell tasks are empty.

      I tested it on 1.563 and 1.564

          [JENKINS-23151] codemirror-mode on f:textarea broken (was: Execute shell build step text not saved properly)

          Szymon S created issue -
          Daniel Beck made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: build-pipeline [ 15962 ]
          Affects Version/s Original: current [ 10162 ]
          Description Original: When I create a simple project and add Execute shell task,
          after save, the task contents are empty.
          config.xml on the server is empty too:
          {code}
          <hudson.tasks.Shell><command/></hudson.tasks.Shell>
          {code}

          When editing the config a second time, the contents are saved properly.
          Each consecutive add of shell task requires a second edit.

          When using inheritance plugin, there is no way to workaround the bug, since each edit creates new revision, and all shell tasks are empty.

          I tested it on 1.563 and 1564
          New: When I create a simple project and add Execute shell task,
          after save, the task contents are empty.
          config.xml on the server is empty too:
          {code}
          <hudson.tasks.Shell><command/></hudson.tasks.Shell>
          {code}

          When editing the config a second time, the contents are saved properly.
          Each consecutive add of shell task requires a second edit.

          When using inheritance plugin, there is no way to workaround the bug, since each edit creates new revision, and all shell tasks are empty.

          I tested it on 1.563 and 1.564
          Summary Original: Execute shell window not saved properly New: Execute shell build step text not saved properly
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Assignee Original: Daniel Beck [ danielbeck ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-15604 [ JENKINS-15604 ]
          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 -
          Labels New: codemirror
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Summary Original: Execute shell build step text not saved properly New: codemirror-mode on f:textarea broken (was: Execute shell build step text not saved properly)
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Daniel Beck made changes -
          Link New: This issue is related to JENKINS-23148 [ JENKINS-23148 ]

            Unassigned Unassigned
            sobczyk Szymon S
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: