Project

General

Profile

Actions

Defect #13140

closed

Redmine doesn't find plugin settings partial

Added by Tommaso Visconti almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I'm trying to fix the redmine-gitolite plugin https://github.com/ivyl/redmine-gitolite 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:

settings({
    :partial => 'gitolite_settings/redmine_gitolite_settings',
    :default => {
      'gitoliteUrl' => 'gitolite@localhost:gitolite-admin.git',
      'developerBaseUrls' => "git@example.com:%{name}.git",
      'readOnlyBaseUrls' => 'http://example.com/git/%{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?

Actions #1

Updated by Tommaso Visconti almost 12 years ago

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

I started a discussion in the forum: http://www.redmine.org/boards/3/topics/36262

Actions #2

Updated by Jan Niggemann (redmine.org team member) almost 12 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.

Actions

Also available in: Atom PDF