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

404 when clicking on test result links for "strange" names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None
    • Platform: All, OS: All

      We use PHPs new namespaces, thus our class names contain backslashes. This profoundly confuses the
      generation of the test result overview page. For a test that is shown with a name like
      F3\FLOW3\SomeTest.testNameHere
      the URL generated is
      http://.../testReport/(root)/F3/FLOW3/SomeTest/testNameHere
      That results in a 404, correct would be
      http://.../testReport/(root)/F3%5CFLOW3%5CSomeTest/testNameHere
      which works fine if entered manually. Thus \ needs to be escaped to %5C rather than replaced by /.

      If you need more info or some help with testing things, let me know.

      This has some similarity to what has been described in #1768, it seems test result URLs could be more
      robust.

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

              Created:
              Updated:
              Resolved: