Trac Details Link is Not Working

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major
    • Component/s: trac-plugin
    • None
    • Environment:
      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"); }

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

              Created:
              Updated:
              Resolved: