[JIRA] Commented: (JENKINS-7394) TFS Web Access URLs are incorrectly generated for TFS 2008

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (JENKINS-7394) TFS Web Access URLs are incorrectly generated for TFS 2008

JIRA noreply@jenkins-ci.org

    [ http://issues.jenkins-ci.org/browse/JENKINS-7394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146606#comment-146606 ]

jeffolson commented on JENKINS-7394:
------------------------------------

I don't agree with this change.  There was nothing wrong with using the shorter versions of the pages like "cs.aspx".  See http://blogs.msdn.com/b/buckh/archive/2007/11/29/team-system-web-access-2008-power-tool-is-now-available.aspx which explains all the shortcut links like this:

  http://<tfs_server>:<tfs_port>/cs.aspx?cs=<cs_id>
  http://<tfs_server>:<tfs_port>/diff.aspx?oitem=<id1>&mitem=<id2>

Now that you have changed this, I'm going to have to go into all my projects and change my config from:

  http://<tfs_server>:<tfs>port/cs.aspx

to:

  http://<tfs_server>:<tfs_port>/UI/Pages/Scc/ViewChangeset.aspx

bogdaniosif, your problem was that you were using the wrong base URL.  You were using:

  http://tswasrv:80/UI/Pages/Scc/cs.aspx?cs=54321

But you should have been using:

  http://tswasrv:80/cs.aspx?cs=54321

I would prefer this get changed back.

Thanks,
Jeff

> TFS Web Access URLs are incorrectly generated for TFS 2008
> ----------------------------------------------------------
>
>                 Key: JENKINS-7394
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-7394
>             Project: Jenkins
>          Issue Type: Bug
>          Components: tfs
>    Affects Versions: current
>         Environment: Any
>            Reporter: bogdaniosif
>            Assignee: redsolo
>            Priority: Minor
>
> All URLs for links to changesets in TFS Web Access on TFS 2008 are incorrectly generated like this:
> http://TFSMachine:8080/UI/Pages/Scc/cs.aspx?cs=12345
> instead of like this:
> http://TFSMachine:8080/UI/Pages/Scc/ViewChangeset.aspx?changeset=12345
> The current version of the plugin (v1.11) concatenates a base URL inferred from the "Example URL to change set page" configuration for a given job, with the string "cs.aspx?cs=" and finally with the changeset id.
> This behavior is not correct for TFS 2008 because the URL probably changed since TFS 2005 and the string "cs.aspx?cs=" is now "ViewChangeset.aspx?changeset=".
> Instead of just upgrading the string "cs.aspx?cs=", I recommend changing a little the behavior and the configuration options of the plugin to use the example URL as a template where the user must type a placeholder for the changeset id. Assuming the placeholder is CHANGESET_ID_PLACEHOLDER then the user should specify the URL like this:
> http://TFSMachine:8080/UI/Pages/Scc/ViewChangeset.aspx?changeset=CHANGESET_ID_PLACEHOLDER
> Other users experienced this problem, as seen here: http://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin?focusedCommentId=44302694#comment-44302694

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira