Defect #13140

Redmine doesn't find plugin settings partial

Added by Tommaso Visconti over 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Plugin API
Target version:-
Resolution:Cant reproduce Affected version:2.2.2


I'm trying to fix the redmine-gitolite plugin to work with Redmine 2.2.2.stable.

I get a 404 page when trying to open the settings page. The error is:

ActionView::MissingTemplate: Missing partial gitolite_settings/redmine_gitolite_settings with {:locale=>[:it, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:
  * "/home/tommyblue/Devel/redmine/app/views" 
from /home/tommyblue/.rvm/gems/ruby-1.9.3-p374@redmine/gems/actionpack-3.2.11/lib/action_view/path_set.rb:58:in `find'

The init.rb file declares:

    :partial => 'gitolite_settings/redmine_gitolite_settings',
    :default => {
      'gitoliteUrl' => 'gitolite@localhost:gitolite-admin.git',
      'developerBaseUrls' => "{name}.git",
      'readOnlyBaseUrls' => '{name}',
      'basePath' => '/home/redmine/repositories/',

It seems redmine isn't looking for the partial in the plugin views folder. I tried changing the name (to eventually avoid name conflicts) but the error remains.
I think I'm following all the instructions in the Redmine docs. Am I missing something or it's a bug?


#1 Updated by Tommaso Visconti over 9 years ago

It seems that every plugins has problems. I also tried with a fresh redmine install.

I started a discussion in the forum:

#2 Updated by Jan Niggemann ( team member) about 9 years ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

I'm closing this issue, as no other reports indicate that "every plugins has problems" or that the "Plugin support totally broken with new install (2.2.x and master)", like you indicate.

Also available in: Atom PDF