View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013879CDash(No Category)public2013-01-25 08:442014-08-04 09:19
Reportertrsystran 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platformapache - php 5.3OSOS Version
Product Version2.0 
Target VersionFixed in Version 
Summary0013879: [PATCH] Improve redmine repository viewer links (no revision)
Descriptionget_redmine_diff_url() is called by get_diff_url() which can be called with an empty revision.
However get_redmine_diff_url() does not generate valid redmine urls when the revision is not set.

This patch returns in such case an url pointing to the history of the file (as it seems to be done in get_viewcvs_diff_url() (I'm not sure of that)).

It is at least visible at cdash/viewBuildError.php?buildid=42 where there is a link to the file containing the error.

Ideally we would have here the revision associated with the build, and thus could give a link to the correct version of the file. But I haven't found a way to get the revision on viewBuildError.php.
TagsNo tags attached.
Attached Filespatch file icon redmine_diff_url.patch [^] (572 bytes) 2013-01-25 08:44 [Show Content]

 Relationships

  Notes
(0036541)
trsystran (reporter)
2014-08-04 09:19

Bug still present in CDash 2.2.2, and patch still applies.

 Issue History
Date Modified Username Field Change
2013-01-25 08:44 trsystran New Issue
2013-01-25 08:44 trsystran File Added: redmine_diff_url.patch
2014-08-04 09:19 trsystran Note Added: 0036541


Copyright © 2000 - 2018 MantisBT Team