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

Wrong Job Group is shown in the selector

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • prioritysorter-plugin
    • Jenkins ver. 1.593
      Plugin ver. 3.0

      I found a bug in the jobGroupName-select tag. It added the selected attribute on each option that was not selected, instead of the one that should have been selected.

      Hence we ended up with this HTML-ouput.

      <tr nameref="rowSetStart44">
          <td class="setting-leftspace">&nbsp;</td>
          <td class="setting-name">Job Group</td>
          <td class="setting-main">
              <select name="jobGroupName">
                  <option value="Top Priority">Top Priority</option>
                  <option selected="true" value="Features">Features</option>
                  <option selected="true" value="Slow and steady">Slow and steady</option>
              </select>
          </td>
          <td class="setting-no-help"></td>
      </tr>
      

      In my case, the option Top Priority should have been choosen, instead Slow and steady was shown. When I looked at my current saved configuration for this specific job, I saw that Top Priority was saved, so it works correctly, it just shows the wrong jobGroupName.

            kyrremann Kyrre Havik Eriksen
            kyrremann Kyrre Havik Eriksen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: