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

Spaces in axis value is lost on reconfiguration

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It seems that if an axis value contains a space, the next time the configuration
      is read it is parsed as two values.

      Steps to reproduce
      1. Create a matrix job
      2. Create an axis
      3. Enter "Debug Code1", "Debug Code2" as values in the axis. Note that you must
      have " around each value otherwise it will not work.
      4. Save
      5 Verify that there are only 2 axes displayed in the page
      6. Re-open the configuration page
      7. Save

      Expected outcome:
      There should only be two axes displayed in the status page

      Actual outcome:
      There are 4 axes displayed

        Attachments

          Activity

          redsolo redsolo created issue -
          Hide
          mindless Alan Harder added a comment -

          heh, it is undocumented that quotes work here in the first place! I'll fix this
          and update the help text too.

          Show
          mindless Alan Harder added a comment - heh, it is undocumented that quotes work here in the first place! I'll fix this and update the help text too.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/matrix/Axis.java
          trunk/hudson/main/war/resources/help/matrix/axis-value.html
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=23757
          Log:
          [FIXED JENKINS-2360] Space in axis value for matrix project was lost on reconfiguration

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/matrix/Axis.java trunk/hudson/main/war/resources/help/matrix/axis-value.html trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=23757 Log: [FIXED JENKINS-2360] Space in axis value for matrix project was lost on reconfiguration
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s matrix-project [ 18765 ]
          Component/s matrix [ 15501 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132433 ] JNJira + In-Review [ 201406 ]

            People

            Assignee:
            mindless Alan Harder
            Reporter:
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: