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

Trac Details Link is Not Working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • trac-plugin
    • None
    • Platform: Macintosh, OS: Mac OS X

      In the changes summary for hudson, when the (diff) link is clicked, it takes you
      to an incorrect trac URL.

      In TracRepositoryBrowser.java, in the URL, the path.getValue() is causing the
      incorrect URL ....

      public URL getDiffLink(Path path) throws IOException

      { if(path.getEditType()!= EditType.EDIT) return null; // no diff if this is not an edit change URL baseUrl = getTracWebURL(path.getLogEntry()); int revision = path.getLogEntry().getRevision(); return new URL(baseUrl, "changeset/" + revision + path.getValue() + "#file0"); }

            Unassigned Unassigned
            mozone13 mozone13
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: