Home > Redmine > Redmine 1.4 & Fields permissions (Hide Assigned to & due date & estimated time) in issue

Redmine 1.4 & Fields permissions (Hide Assigned to & due date & estimated time) in issue

rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
yum install --enablerepo=webtatic git-core

 

cd vendor/plugins/
git clone git://github.com/resilva/Redmine-Fields-permissions.git
cd ..
cd ..
rake db:migrate_plugins RAILS_ENV=production
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

 

ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder) on line #1 of vendor/plugins/Redmine-Fields-permissions/app/views/issues/_attributes.rhtml:

cd lib
wget http://svn.ohwr.org/ohr-support/trunk/lib/tabular_form_builder.rb
rake tmp:cache:clear
rake tmp:sessions:clear
touch tmp/restart.txt

 

Categories: Redmine Tags:
  1. Dat Nguyen Cao
    February 10, 2012 at 03:33 | #1

    I follow your instruction but I get an error with code is 500 (Internal error). My redmine version is 1.3.0. A detail log of error is attached:

    ActionView::TemplateError (uninitialized constant ActionView::Base::CompiledTemplates::TabularFormBuilder) on line #1 of vendor/plugins/Redmine-Fields-permissions/app/views/issues/_attributes.rhtml:
    1: TabularFormBuilder do |f| %>
    2:
    3:
    4:

    vendor/plugins/Redmine-Fields-permissions/app/views/issues/_attributes.rhtml:1:in `_run_rhtml_vendor47plugins47Redmine45Fields45permissions47app47views47issues47_attributes46rhtml_locals_attributes_object’
    app/views/issues/_form.html.erb:44
    app/helpers/application_helper.rb:895:in `labelled_fields_for’
    app/views/issues/_form.html.erb:1
    app/views/issues/_edit.html.erb:7
    app/helpers/application_helper.rb:888:in `labelled_form_for’
    app/views/issues/_edit.html.erb:1
    app/views/issues/show.html.erb:123
    app/controllers/issues_controller.rb:125:in `show’
    app/controllers/issues_controller.rb:122:in `show’
    passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request’
    passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request’
    passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop’
    passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler’
    passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send’
    passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application’
    passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork’
    passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start’
    passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start’
    passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application’
    passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add’
    passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application’
    passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize’
    passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize’
    passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application’
    passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application’
    passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop’
    passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously’
    passenger (3.0.11) helper-scripts/passenger-spawn-server:99

    Rendering /opt/redmine/public/500.html (500 Internal Server Error)

    I hope receive your help. Thanks.

  2. Dat Nguyen Cao
    February 10, 2012 at 03:58 | #2

    I has resolved my problem. i discovered that the problem is the lack of the library tabular_form_builder.rb (into the lib/ directory)

    # cd redmine_root/lib
    # http://svn.ohwr.org/ohr-support/trunk/lib/tabular_form_builder.rb
    # /etc/init.d/httpd restart

    Thanks.

  1. No trackbacks yet.