resilva / Redmine-Fields-permissions

A redmine plugin wich add some permissions
19 stars 14 forks source link

the plugin could not support the redmine 1.4.X #8

Open archonwang opened 12 years ago

archonwang commented 12 years ago

the error information is

NameError in Issues#new

Showing vendor/plugins/redmine_fields_permissions/app/views/issues/_attributes.rhtml where line #1 raised:

uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder

Extracted source (around line #1):

1: <% fields_for :issue, @issue, :builder => TabularFormBuilder do |f| %> 2: 3:

4: <% if @issue.new_record? || @allowed_statuses.any? %>

Trace of template inclusion: app/views/issues/_form.html.erb, app/views/issues/new.html.erb

archonwang commented 12 years ago

NameError in Issues#show

Showing vendor/plugins/redmine_fields_permissions/app/views/issues/_attributes.rhtml where line #1 raised:

uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder

Extracted source (around line #1):

1: <% fields_for :issue, @issue, :builder => TabularFormBuilder do |f| %> 2: 3:

4: <% if @issue.new_record? || @allowed_statuses.any? %>

Trace of template inclusion: app/views/issues/_form.html.erb, app/views/issues/_edit.html.erb, app/views/issues/show.html.erb

resilva commented 12 years ago

Hi,

Actually the plugin is available for redmine 1.3, and honestly i actually don't know how to make it run on 1.4 version. Just right now i haven't the time to watch the difference and correct this plugin, sorry all issue are actually on stand by because i've no time but i hope i'll can check this later.

TeChn4K commented 12 years ago

Hi,

I found a patch for this issue : http://www.bilot.com/?p=1364 It works find for me !

janatic commented 12 years ago

It works for me too

janatic commented 12 years ago

Perhaps the solution is to include that library in the plugin? Sorry i don't have knolewdge of Ruby

paginagmbh commented 12 years ago

Plugin worked fine with 1.4.x and it even works with 2.0.2 for me...

cforce commented 12 years ago

Yes please eomone upstream the for builder in lib folder.