Redmine fields permissions not compatible with 1.3.x
Added by Andy Smout almost 13 years ago
Hi,
I have just tracked down a bug in which the "Parent task" field was not displayed for the issues/show form. This broke the whole concept of subtasks introduced in Redmine 1.3.x
The reason for this turned out to be that the normal issues/_attributes form (which includes a parent_id field) had been overridden by an older version embedded within the redmine_fields_permissions plugin. Deleting the plugin solved the problem (I could also have patched it but I'm not that interested in the functionality).
Just thought I'd save someone else the 3 hours it took me to find this out...
Javerre.
Replies (4)
RE: Redmine fields permissions not compatible with 1.3.x [solved] - Added by Romain E SILVA almost 13 years ago
Hi,
The issue was reported on the github of the project and i've released a patch just right now to correct this. Please send an issue on project pages to make more plugins compatible when you found some errors like that :)
Thanks in advance.
RE: Redmine fields permissions not compatible with 1.3.x - Added by Anonymous over 12 years ago
Hi,
it doesn't work with the latest Redmine version (1.4.2). It breaks down when I go on Issue detail page. I get this error:
NameError in Issues#show
Showing vendor/plugins/resilva-Redmine-Fields-permissions-0c234f2/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: <div class="splitcontentleft">
4: < if @issue.new_record? || @allowed_statuses.any? %>
Trace of template inclusion: app/views/issues/_form.html.erb, app/views/issues/_edit.html.erb, vendor/plugins/return1-redmine_hide_estimated_hours-0ada15e/app/views/issues/show.html.erb
RAILS_ROOT: C:/Program Files/BitNami Redmine Stack/apps/redmine
Application Trace | Framework Trace | Full Trace
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:466:in `load_missing_constant'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:106:in `const_missing'
C:/Program Files/BitNami Redmine Stack/apps/redmine/vendor/plugins/resilva-Redmine-Fields-permissions-0c234f2/app/views/issues/_attributes.rhtml:1:in `_run_rhtml_vendor47plugins47resilva45Redmine45Fields45permissions450c234f247app47views47issues47_attributes46rhtml_locals_attributes_object'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable.rb:34:in `send'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable.rb:34:in `render'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/base.rb:306:in `with_template'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable.rb:30:in `render'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable_partial.rb:20:in `render'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:30:in `benchmark'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable_partial.rb:19:in `render'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/template.rb:205:in `render_template'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/renderable_partial.rb:44:in `render_partial'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/partials.rb:184:in `render_partial'
C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_view/base.rb:267:in `render'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/views/issues/_form.html.erb:44:in `_run_erb_app47views47issues47_form46html46erb_locals_f_form_object'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/helpers/application_helper.rb:941:in `labelled_fields_for'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/views/issues/_form.html.erb:1:in `_run_erb_app47views47issues47_form46html46erb_locals_f_form_object'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/views/issues/_edit.html.erb:8:in `_run_erb_app47views47issues47_edit46html46erb_locals_edit_object'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/helpers/application_helper.rb:934:in `labelled_form_for'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/views/issues/_edit.html.erb:1:in `_run_erb_app47views47issues47_edit46html46erb_locals_edit_object'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/controllers/issues_controller.rb:118:in `show'
C:/Program Files/BitNami Redmine Stack/apps/redmine/app/controllers/issues_controller.rb:115:in `show'
Request
Parameters:
{"id"=>"489"}
Show session dump
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
RE: Redmine fields permissions not compatible with 1.3.x - Added by Lorenzo Forti over 12 years ago
I've the same problem
RE: Redmine fields permissions not compatible with 1.3.x - Added by Anonymous over 12 years ago
I have found the solution: https://github.com/dmondello/redmine-field-permissions/issues/1