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

Also available in: Atom PDF