dnoise / Redmine-Wordkload-Dnoise

Plugin para redmine
http://d-noise.net/
32 stars 45 forks source link

When i click the 'WorkLoad' menu, i am getting a error 'NoMethodError in Work_load#show' #4

Closed irudayarajisawa closed 13 years ago

irudayarajisawa commented 13 years ago

NoMethodError in Work_load#show

Showing vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb where line #2 raised:

undefined method `view=' for nil:NilClass

Extracted source (around line #2):

1: <% 2: @gantt.view = self 3: subject_width = 330 4: header_heigth = 18 5: headers_height = header_heigth

RAILS_ROOT: /usr/share/redmine Application Trace | Framework Trace | Full Trace

vendor/plugins/Redmine-Wordkload-Dnoise/redmine_dnoise_workload/app/views/work_load/show.html.erb:2 vendor/rails/actionpack/lib/action_view/renderable.rb:39:in send' vendor/rails/actionpack/lib/action_view/renderable.rb:39:inrender' vendor/rails/actionpack/lib/action_view/template.rb:73:in render_template' vendor/rails/actionpack/lib/action_view/base.rb:256:inrender' vendor/rails/actionpack/lib/action_view/base.rb:369:in _render_with_layout' vendor/rails/actionpack/lib/action_view/base.rb:254:inrender' vendor/rails/actionpack/lib/action_controller/base.rb:1177:in render_for_file' vendor/rails/actionpack/lib/action_controller/base.rb:896:inrender_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:inrealtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/actionpack/lib/action_controller/base.rb:868:inrender_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:inrealtime' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in render' vendor/rails/actionpack/lib/action_controller/base.rb:1251:indefault_render' vendor/rails/actionpack/lib/action_controller/base.rb:1262:in perform_action_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:617:incall_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:610:in perform_action_without_benchmark' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in measure' vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in passenger_orig_perform_action' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:65:inperform_action' vendor/rails/actionpack/lib/action_controller/base.rb:524:in send' vendor/rails/actionpack/lib/action_controller/base.rb:524:inprocess_without_filters' vendor/rails/actionpack/lib/action_controller/filters.rb:606:in process_without_session_management_support' vendor/rails/actionpack/lib/action_controller/session_management.rb:134:inprocess_without_test' vendor/rails/actionpack/lib/action_controller/test_process.rb:18:in process' vendor/rails/actionpack/lib/action_controller/base.rb:392:inprocess' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:184:in handle_request' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:112:indispatch_unlocked' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:125:in dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:insynchronize' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:124:in dispatch' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:134:indispatch_cgi' vendor/rails/actionpack/lib/action_controller/dispatcher.rb:41:in dispatch' /usr/lib/ruby/1.8/phusion_passenger/railz/request_handler.rb:50:inprocess_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:instart_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:insafe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:insend' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:instart_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:instart' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:inlookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:insynchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in __send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61

Request

Parameters:

None

Show session dump Response

Headers:

{"X-Powered-By"=>"Phusion Passenger (mod_rails/mod_rack) 2.2.7", "Content-Type"=>"text/html", "cookie"=>[], "Cache-Control"=>"no-cache"}

Please help me......

dnoise commented 13 years ago

We are on hollidays, we will be back next week :)

irudayarajisawa commented 13 years ago

Ok i will wait,