Surgo/redmine_reposearch — Issue #11: It couldn't access to "settings" of a project after an error.
Author: maple
Created: 2012-02-08 10:13:48+00:00
State: open

It couldn't access to "settings" of a project which reposerch module is available on after check_enabled in repoindexer_controller.rb had returned false.

1. access to redmine by url + key to make index, then Filter chain halted as [:check_enabled] rendered_or_redirected.
log shows 'Access denied. Repository management WS is disabled or key is invalid.'.

2. click settings page.

After this, I have to reboot the redmine...
Do you know some ideas?

the log is below.

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.html.erb:
16: <% button_disabled = true %>
17: <% if @repository %>
18: <% button_disabled = ! @repository.class.scm_available %>
19: <%= repository_field_tags(f, @repository)%>
20: <% end %>
21:

22:

(eval):21:in `root_url'
app/helpers/repositories_helper.rb:184:in `mercurial_field_tags'
app/helpers/repositories_helper.rb:123:in `send'
app/helpers/repositories_helper.rb:123:in `repository_field_tags'
app/views/projects/settings/_repository.html.erb:19
app/views/projects/settings/_repository.html.erb:1
app/views/common/_tabs.html.erb:24

自分の環境のせいかもしれませんが．．．