The interface used to provide a view of artifacts has issues dealing with subdirectories

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.1
    • Affects Version/s: 1.0.3
    • Component/s: Artifacts
    • None

      When browsing the artifacts for a build...

      I might have several items while browsing http://host/download/PROJECT-MAIN/artifacts/build-142/output/module/module/

      Parent Directory
      pmd.html 783580 bytes Dec 19, 2006 12:50:12 AM
      cobertura.ser 271357 bytes Dec 19, 2006 12:50:01 AM
      coverage 20480 bytes Dec 19, 2006 12:50:23 AM
      classes 4096 bytes Dec 19, 2006 12:49:57 AM
      test-reports 20480 bytes Dec 19, 2006 12:50:23 AM
      instrumented-classes 4096 bytes Dec 19, 2006 12:49:57 AM
      test-classes 4096 bytes Dec 19, 2006 12:49:57 AM
      src 4096 bytes Dec 19, 2006 12:49:57 AM

      When browsing into test-reports for instance:

      http://host/download/PROJECT-MAIN/artifacts/build-142/output/module/module/test-reports

      I am never redirected to

      http://host/download/PROJECT-MAIN/artifacts/build-142/output/module/module/test-reports/ (note trailing slash)

      With the unslashed version, the resulting relative links in the index.html in test-reports dir are not generated correctly (by the web browser), rendering the web page incorrectly (since in my case it uses frames).

      I realise this is a horrible description - basically the links in higher directories should either have a trailing slash, or the handler should redirect to a trailing slashed directory rather than just rendering the content to an unslashed URL.

              Assignee:
              bmccoy
              Reporter:
              Ben Walding
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: