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

Previous and Next link are calculated incorrectly if project name got blanks leading to 404 error

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Linux

      Hudson 1.65
      Tomcat 5.0.30
      Java 1.5.0_07

      If you create a job with a name that contains (a) space(s), the calculation of
      the URL for next and previous build is calculated wrongly.

      Example:
      http://oj-info.emea.cpwr.corp:8080/hudson/job/JDK%20chooser%20plugin/7in/8/

      Expected:
      http://oj-info.emea.cpwr.corp:8080/hudson/job/JDK%20chooser%20plugin/7/

      As you see, the 8 should have been replaced with a 7 (I pressed previous build
      in build #8).

      The fact that this is caused by the spaces, is an assumption...

          [JENKINS-194] Previous and Next link are calculated incorrectly if project name got blanks leading to 404 error

          sjoerdbakker created issue -

          vsizikov added a comment -

          Thanks for reporting the issue, we've already filed the ISSUE #186 and fixed in
          the sources, the fix will appear in Hudson 1.66.

              • This issue has been marked as a duplicate of 186 ***

          vsizikov added a comment - Thanks for reporting the issue, we've already filed the ISSUE #186 and fixed in the sources, the fix will appear in Hudson 1.66. This issue has been marked as a duplicate of 186 ***
          vsizikov made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          vsizikov made changes -
          Link New: This issue duplicates JENKINS-186 [ JENKINS-186 ]

          sjoerdbakker added a comment -

          Hudson 1.66
          Tomcat 5.0.30
          Java 1.5.0

          Both previous and Next links now work, hence marking verified.

          sjoerdbakker added a comment - Hudson 1.66 Tomcat 5.0.30 Java 1.5.0 Both previous and Next links now work, hence marking verified.
          sjoerdbakker made changes -
          Status Original: Resolved [ 5 ] New: Verified [ 10000 ]
          Richard Bywater made changes -
          Status Original: Verified [ 10000 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130267 ] New: JNJira + In-Review [ 199659 ]

            Unassigned Unassigned
            sjoerdbakker sjoerdbakker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: