Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the plugin can not support the redmine 1.4.x #1

Closed
archonwang opened this issue Apr 30, 2012 · 3 comments
Closed

the plugin can not support the redmine 1.4.x #1

archonwang opened this issue Apr 30, 2012 · 3 comments

Comments

@archonwang
Copy link

the plugin can not support the redmine 1.4.x

Processing IssuesController#new (for 127.0.0.1 at 2012-04-30 23:39:41) [GET]
Parameters: {"action"=>"new", "controller"=>"issues", "project_id"=>"demoproject"}
Rendering template within layouts/base
Rendering issues/new

ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder) on line #1 of vendor/plugins/redmine_fields_permissions/app/views/issues/_attributes.rhtml:
1: <% fields_for :issue, @issue, :builder => TabularFormBuilder do |f| %>
2:
3:


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

vendor/plugins/redmine_fields_permissions/app/views/issues/_attributes.rhtml:1:in `_run_rhtml_vendor47plugins47redmine_fields_permissions47app47views47issues47_attributes46rhtml_locals_attributes_object'
app/views/issues/_form.html.erb:44
app/helpers/application_helper.rb:941:in `labelled_fields_for'
app/views/issues/_form.html.erb:1
app/views/issues/new.html.erb:11
app/helpers/application_helper.rb:934:in `labelled_form_for'
app/views/issues/new.html.erb:5
app/controllers/issues_controller.rb:130:in `new'
app/controllers/issues_controller.rb:129:in `new'
C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Ruby187/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Ruby187/lib/ruby/1.8/webrick/server.rb:82:in `start'
@archonwang
Copy link
Author

OK, I found a solution with this issue.

  1. cd redmine_root/lib
  2. copy http://svn.ohwr.org/ohr-support/trunk/lib/tabular_form_builder.rb
  3. copy the plugin and rename the plugin folder;
  4. restart redmine

I tested it into redmine 1.4.X

the source_URL is
http://www.bilot.com/?p=1364

Thanks so much.

@archonwang
Copy link
Author

If it could combine the tabular_form_builder.rb file into the plugin, it would be better.

@tazmpc
Copy link

tazmpc commented Jun 26, 2012

will this be updated to support redmine2.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants