Project

General

Profile

"Internal Error" - Settings with configured SCM

Added by Manuel Strotmann about 13 years ago

Since we installed the redmine_scm Plugin, each time we try to access the settings of an project with entries for a SVN repository, we get an "Internal Error".

Removing the plugin doesn`t help.

Redmin 1.2.0
Ruby 1.8.7
Rails 2.3.11
Turnkey Redmine Appliance

wihtout plugin:

Processing ProjectsController#settings (for 192.168.100.103 at 2011-07-02 13:54:56) [GET]
  Parameters: {"action"=>"settings", "id"=>"11208-001", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/settings

ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #19 of app/views/projects/settings/_repository.rhtml:
16: <% button_disabled = true %>
17: <% if @repository %>
18: <%   button_disabled = ! @repository.class.scm_available %>
19: <%=    repository_field_tags(f, @repository)%>
20: <% end %>
21: </div>
22:

with plugin:


Processing ProjectsController#settings (for 192.168.100.103 at 2011-07-02 14:02:16) [GET]
  Parameters: {"action"=>"settings", "id"=>"11208-001", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/settings

ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #10 of vendor/plugins/redmine_scm/app/views/projects/settings/_repository.rhtml:
7:
8: <div class="box tabular">
9: <p><%= label_tag('repository_scm', l(:label_scm)) %><%= scm_select_tag(@repository) %></p>
10: <%= repository_field_tags(f, @repository) if @repository %>
11: </div>
12:
13: <div class="contextual">

Thanks for your hints and help!


Replies (2)

RE: "Internal Error" - Settings with configured SCM - Added by ge 045 about 13 years ago

Exactly the same problem here.
Did you fix it?

my system looks like this

Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/share/redmine-1.1.3
Environment development
Database adapter mysql

Redmine DocPu plugin 0.0.2
SCM Creator 0.1.1
Redmine2mite 1.2.1
Redmine Dnoise Workload plugin 0.0.1

RE: "Internal Error" - Settings with configured SCM - Added by ge 045 about 13 years ago

fixed it by applying the suggestion here

    (1-2/2)