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

Spaces in axis value is lost on reconfiguration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • matrix-project-plugin
    • None
    • Platform: All, OS: All

      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

          [JENKINS-2360] Spaces in axis value is lost on reconfiguration

          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.

          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.

          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/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

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

              Created:
              Updated:
              Resolved: