Project

General

Profile

Actions

Defect #10026

closed

Git: Mercurial: Branch dropdown broken on repositories page

Added by John Kubiatowicz about 12 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The branch dropdown (for choosing a branch other than 'master') seems to be broken as of the latest version of trunk (pulled today, revision 8670). The problem is that the resulting link is undefined:

For instance, when selecting the "ericb" branch, you get a 404 error on:

https://somesite.org/redmine/projects/tess-kernel/repository/revisions//show?rev=ericb

Notice that (1) the "//" in the middle seems to really confuse the router. Also, (2) I've tried other variants suggested by the latest routes.rb, such as repository/revisions/ericb or other variants. They come up with an "entry not found in the repository" error. This problem seems to have happened very recently (last couple of days?) and is probably part of the multiple-SCM rewrite.

My info is as follows:

About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.8.11
Rack version 1.1
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Application root /source/tessellation/test-site/redmine
Environment production
Database adapter mysql
Database schema version 20120115143126

About your Redmine plugins
Redmine Git Hosting Plugin 0.4.3x
Redmine OpenID Selector plugin 0.0.1


Related issues

Related to Redmine - Feature #779: Multiple SCM per projectClosedJean-Philippe Lang2008-03-04

Actions
Actions #1

Updated by Toshi MARUYAMA about 12 years ago

  • Status changed from New to Confirmed
  • Affected version (unused) set to devel

I confirmed.
#779 broke Git/Mercurial branches browsing.

Actions #2

Updated by Toshi MARUYAMA about 12 years ago

  • Category set to SCM
Actions #3

Updated by Toshi MARUYAMA about 12 years ago

  • Subject changed from Branch dropdown broken on repositories page (at least for Git repos) to Git: Mercurial: Branch dropdown broken on repositories page
Actions #4

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

This should be fixed by r8678.

Actions #5

Updated by Go MAEDA over 4 years ago

  • Status changed from Resolved to Closed

Jean-Philippe Lang wrote:

This should be fixed by r8678.

Closing.

Actions

Also available in: Atom PDF