Project

General

Profile

Actions

Defect #10830

closed

Cannot add git repository to redmine

Added by Spencer Deinum about 13 years ago. Updated about 13 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Everytime I try to add a local git repository to a project I'm getting the following error.

ruby version: 1.8.7
rails version: 3.2.3
using sqlite3

Started POST "/projects/healthie-laravel/repositories" for 10.139.4.189 at Thu May 03 18:16:16 -0400 2012
Processing by RepositoriesController#create as HTML
Parameters: {"repository_scm"=>"Git", "repository"=>{"path_encoding"=>"", "extra_report_last_commit"=>"0", "url"=>"/home/spencer/Healthie-laravel.git", "identifier"=>"", "is_default"=>"1"}, "utf8"=>"✓", "authenticity_token"=>"5Y9pHmapY/Q3LvCp28YRqcJvCvDJq0TM5CIl8SkqaqM=", "project_id"=>"healthie-laravel", "commit"=>"Create"}
Completed 500 Internal Server Error in 10ms

NoMethodError (undefined method `project=' for nil:NilClass):
app/controllers/repositories_controller.rb:50:in `create'

Actions #1

Updated by Toshi MARUYAMA about 13 years ago

  • Affected version (unused) changed from 1.4.1 to devel
  • Affected version deleted (1.4.1)
Actions #2

Updated by Toshi MARUYAMA about 13 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed by r9616.

Actions #3

Updated by luigifab ! about 13 years ago

Have you a release date?
Problem is still present in Redmine 1.4.3.

Actions #4

Updated by Etienne Massip about 13 years ago

  • Assignee set to Toshi MARUYAMA

It has been fixed on trunk before the creation of the 2.0 branch so it has been fixed with release of 2.0.0.

Toshi, did you plan to merge it into 1.4?

Actions #5

Updated by Etienne Massip about 13 years ago

  • Category set to SCM
Actions #6

Updated by Toshi MARUYAMA about 13 years ago

  • Assignee deleted (Toshi MARUYAMA)

This bug is due to Rails3 porting.
There is no bug on 1.4-stable.

Actions #7

Updated by Jérémie Gnujeremie about 13 years ago

Toshi MARUYAMA wrote:

This bug is due to Rails3 porting.
There is no bug on 1.4-stable.

I don't understand. Using several redmine instances, all running with 1.4.2 or 1.4.3, I can tell you the bug is still there.

Actions #8

Updated by Toshi MARUYAMA about 13 years ago

I committed in r9775 to 1.4-stable (Rails2) and all test passes.
http://www.redmine.org/builds/index.html

Description log is about Redmine 2.0 (Rails3).

If you have a problem on clean Redmine 1.4, which means no plugins,
Please create a new issue with SubmittingBugs.

Actions

Also available in: Atom PDF