The plugin seems to work fine elsewhere but when you try to view an issue it throws the 500 page and this is in my production log...
Processing IssuesController#show (for 10.249.1.77 at 2010-05-18 14:47:30) [GET]
Parameters: {"action"=>"show", "id"=>"1121", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml
ActionView::TemplateError (Can only render or redirect once per action) on line #17 of app/views/layouts/base.rhtml:
14: body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
15: </style>
16: <![endif]-->
17: <%= call_hook :view_layouts_base_html_head %>
18:
19: <%= yield :header_tags -%>
20:
lib/redmine/hook.rb:113:in `send'
lib/redmine/hook.rb:113:in `view_layouts_base_html_head'
lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/layouts/base.rhtml:17:in `_run_rhtml_app47views47layouts47base46rhtml'
app/controllers/issues_controller.rb:116:in `show_without_todo'
app/controllers/issues_controller.rb:115:in `show_without_todo'
Rendering C:/BitNami-RedmineStack/apps/redmine/public/500.html (500 Internal Server Error)
Why not create a 'Todo' tracker and use it on the plugin? Is there any special reason to not do this?
If its done this way, could be much easier to define workflows, make time tracking of todos events, etc..
Thank you
Can u provide some screenshots on the wiki page
Hello,
I downloaded the plugin from the downloads link at the top and this turned out to 0.0.3.6. This was a great release but I needed the functionality to see the todos on the issue page so I got the latest version out of the main tree.
This was version 0.0.4.0
This version does not work with my Redmine I include the error below for your info. This is the same error as posted here on the forums: http://www.redmine.org/boards/3/topics/4070#message-9036
Processing TodosController#index (for 10.28.66.134 at 2009-10-11 10:58:06) [GET]
Session ID: 26ce628a2ba174a5c3edf3e6a44e83a7
Parameters: {"project_id"=>"leedsdbmigration", "action"=>"index", "controller"=>"todos"}
Rendering template within layouts/base
Rendering todos/index
ActionView::TemplateError (wrong number of arguments (2 for 1)) on line #25 of vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:
22: :html => {:class => todo_class}
23: )
24: %><%= link_to_remote( image_tag('add.png', :title => l(:todo_add_child_tooltip)),
25: :url => new_polymorphic_url( [parent_object,:todo], :parent_id => todo, :issue_id => todo_issue), :method => :get,
26:
27: #{ :controller => "#{'projects/' + todo.project.identifier.to_s + '/' if todo.project}#{'issues/' + todo_issue.to_s + '/' if todo_issue}#{todos_controller}/#{todo.id}", :action => 'new' },
28: :html => {:class => 'icon-new'},
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:25:in `new_polymorphic_url'
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:25:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_todo46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo_li.html.erb:2:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_todo_li46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:7:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_root_todos46html46erb'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:6:in `each'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:6:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_root_todos46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/index.html.erb:19:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47index46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1112:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:845:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1161:in `default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1167:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
c:/Program Files/TestSrv/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:76:in `process'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `synchronize'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/rails.rb:74:in `process'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:159:in `process_client'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `each'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:158:in `process_client'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `initialize'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `new'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:285:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `initialize'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `new'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel.rb:268:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:282:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `each'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb:281:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:128:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/command.rb:212:in `run'
c:/Program Files/TestSrv/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rails:281
c:/Program Files/TestSrv/ruby/bin/mongrel_rails:16:in `load'
c:/Program Files/TestSrv/ruby/bin/mongrel_rails:16
Rendering C:/Program Files/TestSrv/ProjManage/redmine/public/500.html (500 Internal Server Error)
Not sure if this is a bug or not, but the "text todo-has-children-true" style applies an underline to all parent tasks, making them appear clickable, as if clicking them would collapse all the child tasks underneath them. But mine are not clickable. If they are not supposed to be clickable, this would be a nice feature.
I've installed the redmine-todos-scrum-plugin from this repository.
The last commit is 4b00d5e.
ToDos work OK. I created few of them in one of projects, used nested todos, and even linked one of todos to an issue. Then a problem appeared: When I try to open any issue in any of the projects, the following error appears:
ActionController::DoubleRenderError in Issues#show
Showing app/views/layouts/base.rhtml where line #17 raised:
Can only render or redirect once per action
Extracted source (around line #17):
14: body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
15: </style>
16: <![endif]-->
17: <%= call_hook :view_layouts_base_html_head %>
18:
19: <%= yield :header_tags -%>
20:
RAILS_ROOT: /home/hooke/redmine-0.9.3
Application Trace | Framework Trace | Full Trace
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:900:in render_without_benchmark' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:995:in render_to_string' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:113:in
send'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:113:in view_layouts_base_html_head' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in
send'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in call_hook' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in
each'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in call_hook' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:60:in
call_hook'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:144:in call_hook' /home/hooke/redmine-0.9.3/app/views/layouts/base.rhtml:17:in
_run_rhtml_app47views47layouts47base46rhtml'
/home/hooke/redmine-0.9.3/app/controllers/issues_controller.rb:117:in show_without_todo' /home/hooke/redmine-0.9.3/app/controllers/issues_controller.rb:116:in
show_without_todo'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:900:in render_without_benchmark' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:995:in render_to_string' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/object/misc.rb:39:in
returning'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in send' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in with_template' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in render_template' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in _render_with_layout' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in render_for_file' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in
render_without_benchmark'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in render' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in realtime' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in render' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in custom' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in respond' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in
each'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in respond' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in
respond_to'
/home/hooke/redmine-0.9.3/vendor/plugins/redmine_todos_plugin/lib/todo_issues_controller_patch.rb:43:in show' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
send'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in perform_action_without_filters' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in
call_filters'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in perform_action_without_benchmark' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in perform_action_without_flash' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in
perform_action'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in send' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
process_without_filters'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in process' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in
process'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in dispatch' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in
_call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in build_middleware_stack' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in call' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in cache' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in
call'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in synchronize' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:106:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in each' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in
service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in
start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:in
start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:in
start'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in run' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:900:in render_without_benchmark' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:995:in render_to_string' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:113:in
send'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:113:in view_layouts_base_html_head' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in
send'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in call_hook' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in
each'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:63:in call_hook' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/object/misc.rb:39:in
returning'
/home/hooke/redmine-0.9.3/lib/redmine/hook.rb:60:in call_hook' /home/hooke/redmine-0.9.3/lib/redmine/hook.rb:144:in
call_hook'
/home/hooke/redmine-0.9.3/app/views/layouts/base.rhtml:17:in _run_rhtml_app47views47layouts47base46rhtml' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in
send'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:34:in render' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:306:in
with_template'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:30:in render' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in
render_template'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in render' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:352:in
_render_with_layout'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in render' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in
render_for_file'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:945:in render_without_benchmark' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
/home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in ms' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in
render'
/home/hooke/redmine-0.9.3/app/controllers/issues_controller.rb:117:in show_without_todo' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in custom' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in respond' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in
each'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in respond' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in
respond_to'
/home/hooke/redmine-0.9.3/app/controllers/issues_controller.rb:116:in show_without_todo' /home/hooke/redmine-0.9.3/vendor/plugins/redmine_todos_plugin/lib/todo_issues_controller_patch.rb:43:in
show'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in send' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in
perform_action_without_filters'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in call_filters' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in realtime' /home/hooke/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in
ms'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in
perform_action_without_flash'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in perform_action' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in
send'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in process_without_filters' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in
process'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in process' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in
dispatch'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in _call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in call' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in
call'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in
cache'
/home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in call' /home/hooke/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in
call'
/home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in
synchronize'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' /home/hooke/.gem/ruby/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:106:in
call'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in each' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in
call'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in call' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in
call'
/home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/lib/ruby/1.8/webrick/server.rb:173:in
start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/lib/ruby/1.8/webrick/server.rb:92:in
each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/lib/ruby/1.8/webrick/server.rb:23:in
start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in start' /home/hooke/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in
run'
/var/lib/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require'
script/server:3
Request
Parameters:
{"id"=>"3"}
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
My environment:
Ubuntu 9.10
Redmine 0.9.3.stable.3668 (MySQL)
About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /home/hooke/redmine-0.9.3
Environment development
Database adapter mysql
Database schema version 20100221100219
About your Redmine plugins
Rate Plugin 0.1.0
Budget 0.2.0
Redmine Blogs plugin 0.1.0
Redmine Milestones plugin 0.1
Redmine Todo Lists plugin 0.0.3.9
Redmine is run in production mode.
After I moved plugin's folder outside of vendor/plugins, and restarted webserver, I can open issue without a problem.
Could you please fix it?
If you need more information, please ask!
In order to use optinally use this plugin as a quick and dirty task tracker associated with a redmine project, it would be great if one could also attach/associate a todo task with a project.
This would later make way for the possibility to show todo creation/completion entries in a project's activity log
Hi
After I install this I am getting "internal error" when I click on the todo tab.
thanks
Version: Redmine 1.0.1.stable
in issues - detail view: there is an translation missing: de, label_related_todos error
in vendor/plugins/redmine_todos_plugin/app/views/issues/_todos.html.erb line with content
<%= l(:label_related_todos) %>
method l(:label_related_todos) doesn't reach the content from files vendor/plugins/redmine_todos_plugin/lang/ (en.yml, de.yml etc.)
Can someone please fix this? I don't know how to that.
Thank you.
The project-menu item (tab) hightlighting when it's the currently active project-module isn't working. This can be fixed pretty easily by changing the following two lines in init.rb from:
menu :top_menu, :todo_lists, { :controller => 'mytodos', :action => 'index' }, :caption => :my_todos_title #, :public => false
menu :project_menu, :todo_lists, {:controller => 'todos', :action => 'index'}, :caption => :project_todos_title, :after => :new_issue, :param => :project_id
to:
menu :top_menu, :mytodos, { :controller => 'mytodos', :action => 'index' }, :caption => :my_todos_title #, :public => false
menu :project_menu, :todos, {:controller => 'todos', :action => 'index'}, :caption => :project_todos_title, :after => :new_issue, :param => :project_id
This will change the CSS-classes used for the links from respectively todo-lists
for both links to mytodos
for the top-menu link and todos
for the project-menu link.
HTH...
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistan
Here is how it's installed:
projects:/usr/local/lib/redmine-0.8/vendor/plugins# git clone git://github.com/dalyons/redmine-todos-scrum-plugin.git redmine_todos_plugin
Initialized empty Git repository in /usr/local/lib/redmine-0.8/vendor/plugins/redmine_todos_plugin/.git/
remote: Counting objects: 856, done.
remote: Compressing objects: 100% (551/551), done.
remote: Total 856 (delta 471), reused 399 (delta 235)
Receiving objects: 100% (856/856), 401.50 KiB | 402 KiB/s, done.
Resolving deltas: 100% (471/471), done.
projects:/usr/local/lib/redmine-0.8/vendor/plugins# rake db:migrate_plugins RAILS_ENV=production
(in /usr/local/lib/redmine-0.8)
Migrating engines...
Migrating actionwebservice...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating classic_pagination...
Migrating coderay-0.7.6.227...
Migrating gloc-1.1.0...
Migrating gravatar...
Migrating redmine_todos_plugin...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating timesheet_plugin...
projects:/usr/local/lib/redmine-0.8/vendor/plugins# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
projects:/usr/local/lib/redmine-0.8/vendor/plugins#
Versions:
Redmine 0.8.7.stable.3297
ruby 1.8.7
rack (1.1.0)
rails (2.1.2)
rake (0.8.7)
Debian (5.0.3)
I can create a new Todo, assign a due date to it and a task that it refers to. But when I click the '+' to add a child to the todo, I get the following error:
Processing TodosController#new (for IPADDRESS at 2009-11-27 13:01:27) [GET]
Session ID: 9c02f36ed49d5078b442cbed88057d5e
Parameters: {"project_id"=>"pe-project", "action"=>"new", "issue_id"=>"367", "controller"=>"todos", "parent_id"=>"5"}
NameError (undefined local variable or method todo' for #<TodosController:0x4420ca8>): /vendor/plugins/redmine_todos_plugin/app/controllers/todos_controller.rb:69:in
new'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in send' /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in
perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' D:/Tools/ruby/lib/ruby/1.8/benchmark.rb:293:in
measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
perform_action_without_caching'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in perform_action' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in cache' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in send' /vendor/rails/actionpack/lib/action_controller/base.rb:529:in
process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in process_without_session_management_support' /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in
process'
/vendor/rails/actionpack/lib/action_controller/base.rb:389:in process' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in dispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in dispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in dispatch' /vendor/rails/railties/lib/webrick_server.rb:112:in
handle_dispatch'
/vendor/rails/railties/lib/webrick_server.rb:78:in service' D:/Tools/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
service'
D:/Tools/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in run' D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:173:in
start_thread'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:162:in start' D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:162:in
start_thread'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:95:in start' D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:92:in
each'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:92:in start' D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:23:in
start'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:82:in start' /vendor/rails/railties/lib/webrick_server.rb:62:in
dispatch'
/vendor/rails/railties/lib/commands/servers/webrick.rb:66
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in require' /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in
new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in require' /vendor/rails/railties/lib/commands/server.rb:39 D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Rendering D:/Tools/redmine-0.8.5/public/500.html (500 Internal Server Error)
Hello, I've just installed todos plugin on my Redmine0.9.3.
And I saw following error mesage...
ActionView::TemplateError (No plugin called 'redmine_todos_plugin' - please use the full n
ame of a loaded plugin.) on line #2 of vendor/plugins/redmine_todos/app/views/mytodos/inde
x.html.erb:
1: <% content_for :header_tags do %>
2: <%= stylesheet_link_tag 'todos', :plugin => 'redmine_todos_plugin' %>
3: <%= stylesheet_link_tag 'todos_print', :plugin => 'redmine_todos_plugin', :media =>
'print' %>
4: <% end %>
Though I don't have much knowledge about ROR and Redmien, I modified all view files following above error message. (Just replace "redmine_todos_plugin" to "redmine_todos")
I'm not sure this workaround is collect or not and not sure this problem is happen in my environment only, but now I can handle todos without problem.
I'm glad this post could be of any help to you.
Hi,
very recently I installed redmine(0.9.3) + todos plugin. on ubuntu 10.04 (64 bit).
I am getting the following error.
internal error
an error occurred on the page you were trying to access.
if you continue to experience problems please contact your redMine administrator for assistance.
I googled for a while but not able to find a fix for this problem.
Need your help
redmine install info:
activesupport (3.0.1)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.3)
erubis (2.6.6)
i18n (0.4.1)
mail (2.2.7)
mime-types (1.16)
mysql (2.8.1)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.6)
rails (3.0.1)
railties (3.0.1)
rake (0.8.7)
thor (0.14.3)
treetop (1.4.8)
tzinfo (0.3.23)
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
ctionView::MissingTemplate (Missing template mytodos/show.erb in view path vendor/plugins/redmine_todos_plugin/app/views:app/views):
app/controllers/application_controller.rb:474:in default_template' vendor/plugins/redmine_todos_plugin/app/controllers/todos_controller.rb:56:in
show'
vendor/plugins/redmine_todos_plugin/app/controllers/todos_controller.rb:55:in show' /usr/lib/ruby/1.8/mongrel/rails.rb:76:in
process'
/usr/lib/ruby/1.8/mongrel/rails.rb:74:in synchronize' /usr/lib/ruby/1.8/mongrel/rails.rb:74:in
process'
/usr/lib/ruby/1.8/mongrel.rb:159:in process_client' /usr/lib/ruby/1.8/mongrel.rb:158:in
each'
/usr/lib/ruby/1.8/mongrel.rb:158:in process_client' /usr/lib/ruby/1.8/mongrel.rb:285:in
run'
/usr/lib/ruby/1.8/mongrel.rb:285:in initialize' /usr/lib/ruby/1.8/mongrel.rb:285:in
new'
/usr/lib/ruby/1.8/mongrel.rb:285:in run' /usr/lib/ruby/1.8/mongrel.rb:268:in
initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in new' /usr/lib/ruby/1.8/mongrel.rb:268:in
run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:282:in run' /usr/lib/ruby/1.8/mongrel/configurator.rb:281:in
each'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in run' /usr/lib/ruby/1.8/mongrel/command.rb:212:in
run'
Allowing commenting on todos would make it very close to BaseCamp functionality (it's the one main thing missing).
Hi, did the pt-BR translation but where should I put?
putting in
/vendor/plugins/redmine_todos_plugin/config/locales/
or
/vendor/plugins/redmine_todos_plugin/lang/
not working, continue show "translation missing" to all todos strings
added to /config/locales/pt-BR.yml of Redmine but do not know if is correct.
The translation follows below.
label_todo_plural: Lembretes
my_todos_title: Meus lembretes
todo_sort_no_project_error: "não pode ordenar sem um projeto!"
todo_project_not_found_error: "Projeto não encontrado!"
todo_new_missing_update_target_error: "Você precisa de um update_target!!"
mytodos_heading: Meus lembretes pessoais
mytodos_edit_project_tooltip: "Editar os lembretes deste projeto"
todo_new_done_link: Criação de lembretes Feita
todo_new_due_label: Prazo
todo_new_or_label: ou
todo_new_create_button: Criar lembrete
todo_new_issue_tooltip: referente a
todo_new_assign_to_tooltip: atribuído para
todos_project_heading: Lembrete para
todos_print_button_tooltip: Imprimir esta lista
todo_unmark_tooltip: Marcar este lembrete (e filho) como Incompleto
todo_mark_tooltip: Marcar este lembrete (e filhos) como Feito
todo_add_child_tooltip: 'adicionar filho a este lembrete'
todo_delete_tooltip: excluir este lembrete (e filhos!)
todo_due_label: "Prazo:"
todo_assigned_label: "Atribuído para:"
todo_ref_label: "Ref:"
project_module_todo_lists: Listas de lembretes
permission_view_todos: Ver listas de lembretes
permission_edit_todos: Editar listas de lembretes
permission_use_personal_todos: Usar lista de lembretes pessoais
label_related_todos: Lembretes relacionados
todo_not_found_error: "Lembrete não encontrado!"
label_todo: Lembrete
todo_status_done: Feito
todo_status_new: Novo
todo_status_updated: Atualizado
Thank you.
When you give a role permission to edit todos users also gain the ability to delete issues from a project, even if they don't have permission to delete issues. This only shows up on the issue page itself, not in the context menu when looking at the issues list.
It'll be cool if in issue view we can show related todos like related issues.
It is part of debug log:
...
Rendered todos/_new_todo (3010.4ms)
Rendered issues/_todos (3013.7ms)
Rendered issues/_show_history (0.4ms)
Rendered issue_relations/_form (2.0ms)
Rendered issues/_relations (4.5ms)
...
Completed in 3410ms (View: 3379, DB: 2) | 200 OK [http://...../issues/5324]
How to reduce this time?
There is good practice to render page within 1 sec in WEB ;)
Hi there,
I've installed todos on a Redmine 0.9 system that was migrated from 0.8 (eg: not a fresh 0.9 install from scratch).
I've set up the todos plugin (with the correctly named directory) but when I go to run the migrate_plugins command, rake aborts saying "Child already added!" (see trace below)
What have I done wrong?
Cheers,
Grant
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Child already added
/opt/redmine-0.9/lib/redmine/menu_manager.rb:77:in add' /opt/redmine-0.9/lib/redmine/menu_manager.rb:358:in
push'
/opt/redmine-0.9/lib/redmine/plugin.rb:178:in menu' /opt/redmine-0.9/vendor/plugins/redmine-todos-plugin/init.rb:57:in
evaluate_init_rb'
/opt/redmine-0.9/lib/redmine/plugin.rb:67:in instance_eval' /opt/redmine-0.9/lib/redmine/plugin.rb:67:in
register'
/opt/redmine-0.9/vendor/plugins/redmine-todos-plugin/init.rb:33:in evaluate_init_rb' /opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin.rb:158:in
evaluate_init_rb'
/opt/redmine-0.9/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in silence_warnings' /opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin.rb:154:in
evaluate_init_rb'
/opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin.rb:48:in load' /opt/redmine-0.9/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in
load'
/opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:38:in load_plugins' /opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in
each'
/opt/redmine-0.9/config/../vendor/rails/railties/lib/rails/plugin/loader.rb:37:in load_plugins' /opt/redmine-0.9/config/../vendor/rails/railties/lib/initializer.rb:369:in
load_plugins'
/opt/redmine-0.9/config/../vendor/rails/railties/lib/initializer.rb:165:in process' /opt/redmine-0.9/config/../vendor/rails/railties/lib/initializer.rb:113:in
send'
/opt/redmine-0.9/config/../vendor/rails/railties/lib/initializer.rb:113:in run' /opt/redmine-0.9/config/environment.rb:20 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in require' /opt/redmine-0.9/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in
require'
/opt/redmine-0.9/vendor/rails/railties/lib/tasks/misc.rake:4
/usr/lib/ruby/1.8/rake.rb:636:in call' /usr/lib/ruby/1.8/rake.rb:636:in
execute'
/usr/lib/ruby/1.8/rake.rb:631:in each' /usr/lib/ruby/1.8/rake.rb:631:in
execute'
/usr/lib/ruby/1.8/rake.rb:597:in invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:607:in
invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:604:in each' /usr/lib/ruby/1.8/rake.rb:604:in
invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:596:in invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:583:in
invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in invoke_task' /usr/lib/ruby/1.8/rake.rb:2029:in
top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in each' /usr/lib/ruby/1.8/rake.rb:2029:in
top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:2023:in
top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in run' /usr/lib/ruby/1.8/rake.rb:2068:in
standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
When I recovered my laptop from hibernate and i refreshed the todo list i was notified with the message "Fail! You suck". This doesnt seem professional since we use it in a production environment;
Find here an updated translation file config/locales/fr.yml:
#language file for fr - post rails 2.2.2
#updated by Thibaut Cuvelier on May 29th, 2010
fr:
label_todo_plural: Tâches
my_todos_title: Mes Tâches
todo_sort_no_project_error: "Impossible de trier sans projet !"
todo_project_not_found_error: "Le projet demandé n'existe pas !"
todo_new_missing_update_target_error: "Vous devez spécifier une cible de mise-à-jour !"
mytodos_heading: "Mes tâches personnelles"
mytodos_edit_project_tooltip: "Éditer les tâches pour ce projet"
todo_new_done_link: "Terminer l'ajout de tâche"
todo_new_due_label: "Date d'échéance"
todo_new_or_label: "ou"
todo_new_create_button: "Créer une tâche"
todo_new_issue_tooltip: "se rapporte à"
todo_new_assign_to_tooltip: "assigner à"
todos_project_heading: "Tâches pour"
todos_print_button_tooltip: "Imprimer cette liste"
todo_unmark_tooltip: "Marquer cette tâche (et ses fils) comme incomplète"
todo_mark_tooltip: "Marquer cette tâche (et ses fils) comme terminée"
todo_add_child_tooltip: "Ajouter un fils à cette tâche"
todo_delete_tooltip: "Effacer cette tâche et ses fils"
todo_due_label: "Date d'échéance :"
todo_assigned_label: "Assigné à :"
todo_ref_label: "Référence :"
project_module_todo_lists: "Liste de tâches"
permission_view_todos: "Voir les listes de tâches"
permission_edit_todos: "Éditer les listes de tâches"
permission_use_personal_todos: "Utiliser les listes de tâches personnelles"
label_related_todos: "Tâches liées"
todo_not_found_error: "La tâche demandée n'existe pas !"
label_todo: "Tâche"
todo_status_done: "Terminé"
todo_status_new: "Nouveau"
todo_status_updated: "Mis à jour"
Redmine 0.8.5
Rails 2.2.2
Windows 2003
Installed latest version of redmine_todos_plugin in vendors/plugins. Migrated production DB. Restarted Redmine.
Get the following issue:
ActionView::TemplateError (wrong number of arguments (2 for 1)) on line #25 of vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:
22: :html => {:class => todo_class}
23: )
24: %><%= link_to_remote( image_tag('add.png', :title => l(:todo_add_child_tooltip)),
25: :url => new_polymorphic_url( [parent_object,:todo], :parent_id => todo, :issue_id => todo_issue), :method => :get,
26:
27: #{ :controller => "#{'projects/' + todo.project.identifier.to_s + '/' if todo.project}#{'issues/' + todo_issue.to_s + '/' if todo_issue}#{todos_controller}/#{todo.id}", :action => 'new' },
28: :html => {:class => 'icon-new'},
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:25:in `new_polymorphic_url'
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo.html.erb:25:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_todo46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/_todo_li.html.erb:2:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_todo_li46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:7:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_root_todos46html46erb'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:6:in `each'
vendor/plugins/redmine_todos_plugin/app/views/todos/_root_todos.html.erb:6:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47_root_todos46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in `render'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/partials.rb:110:in `render_partial'
vendor/rails/actionpack/lib/action_view/base.rb:277:in `render'
vendor/plugins/redmine_todos_plugin/app/views/todos/index.html.erb:19:in `_run_erb_47vendor47plugins47redmine_todos_plugin47app47views47todos47index46html46erb'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `send'
vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:29:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'
vendor/rails/actionpack/lib/action_controller/base.rb:1112:in `render_for_file'
vendor/rails/actionpack/lib/action_controller/base.rb:845:in `render_with_no_layout'
vendor/rails/actionpack/lib/action_controller/layout.rb:251:in `render_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in `render'
vendor/rails/actionpack/lib/action_controller/base.rb:1161:in `default_render'
vendor/rails/actionpack/lib/action_controller/base.rb:1167:in `perform_action_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
D:/Tools/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
vendor/rails/railties/lib/webrick_server.rb:78:in `service'
D:/Tools/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
D:/Tools/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
D:/Tools/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
vendor/rails/railties/lib/commands/servers/webrick.rb:66
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
vendor/rails/railties/lib/commands/server.rb:39
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Rendering D:/Tools/redmine-0.8.5/public/500.html (500 Internal Server Error)
This patch adds a check, if the current user is allowed to "use_personal_todos"
diff --git a/init.rb b/init.rb
index 90bc35a..a926102 100644
--- a/init.rb
+++ b/init.rb
@@ -55,7 +55,10 @@ Redmine::Plugin.register :redmine_todos_plugin do
end
menu :top_menu, :mytodos, { :controller => 'mytodos', :action => 'index' },
- :caption => :my_todos_title #, :public => false
+ :caption => :my_todos_title,
+ :if => Proc.new {
+ User.current.allowed_to?(:use_personal_todos, nil, :global => true)
+ }
menu :project_menu, :todos, {:controller => 'todos', :action => 'index'},
:caption => :label_todo_plural, :after => :new_issue, :param => :project_id
Make it possible to expose when a todo has been created and completed in the project's Activity log
The motivation for this is that my company (maybe incorrectly) are trying to make use of this plugin as a replacement for separate "worklog"-like activity logs, stuff that not quite qualifies into making a issue of it but still needs to be logged into redmine somehow
Recommend Projects
-
-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
An Open Source Machine Learning Framework for Everyone
-
The Web framework for perfectionists with deadlines.
-
A PHP framework for web artisans
-
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
Some thing interesting about web. New door for the world.
-
A server is a program made to process requests and deliver data to clients.
-
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Some thing interesting about visualization, use data art
-
Some thing interesting about game, make everyone happy.
-
Recommend Org
-
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Open source projects and samples from Microsoft.
-
Google ❤️ Open Source for everyone.
-
Alibaba Open Source for everyone
-
Data-Driven Documents codes.
-
China tencent open source team.
-