I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Bug #2420

Creating a Github repository fails

Added by Mike Hagedon over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Redmine version:
3.1.3
External issue:

Description

When I enable Github in the SCM Creator settings, the plugin seems to crash on a sudo-requiring action. I have sudo mode turned off. Any ideas on how to fix this, or at least get more of a stack trace?

Started POST "/projects/mike-test-project/repositories" for 150.135.113.198 at 2017-03-07 19:03:26 -0700
Processing by RepositoriesController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"HjSSjhkzR8crX0fcph2dTQk9u+UEIvJqJNMeI9vBuYb/1KMhSSS9Q75ADx/NzVYTwYJjkw4jn0XCmCNtisg/Eg==", "repository_scm"=>"Github", "repository"=>{"is_default"=>"0", "identifier"=>"mike6", "url"=>"https://github.com/michaelhagedon/mike6.git", "login"=>""}, "commit"=>"Create new repository", "operation"=>"add", "ignore"=>"", "project_id"=>"mike-test-project"}
  Current user: mhagedon (id=3)
Creating reporitory: mike6.git
Completed 500 Internal Server Error in 1538ms (ActiveRecord: 1.5ms)

TypeError (no implicit conversion of Array into String):
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

SCM Creator r147, Redmine 3.1.3, Ruby 2.2.1

Also available in: Atom PDF

Terms of use | Privacy policy