Hi!
I have tested new build of the plugin and got the following situation:
I configured the plugin (set the project and tracker)
Added and assign issues for the user
Open "Timesheet" page and using order dropdown choose version, activity and issue.
After i pressed "Save" the "Internal error" page occurred
Logs from server:
Processing by TimesheetsController#index as HTML
Parameters: {"order"=>"1", "issue"=>"5", "newrow"=>"true", "utf8"=>"✓", "activity"=>"9", "commit"=>"Save"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 115.7ms
Hi! I have tested new build of the plugin and got the following situation:
Processing by TimesheetsController#index as HTML Parameters: {"order"=>"1", "issue"=>"5", "newrow"=>"true", "utf8"=>"✓", "activity"=>"9", "commit"=>"Save"} Current user: admin (id=1) Completed 500 Internal Server Error in 115.7ms
NameError (undefined local variable or method
order' for #<TimesheetsController:0x85a4cb0>): plugins/redmine_app_timesheets/app/controllers/timesheets_controller.rb:296:in
get_timelogs' activesupport (3.2.16) lib/active_support/callbacks.rb:517:in_run__102816247__process_action__1568089879__callbacks' activesupport (3.2.16) lib/active_support/callbacks.rb:405:in
send' activesupport (3.2.16) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.16) lib/active_support/callbacks.rb:385:in
_run_process_action_callbacks' activesupport (3.2.16) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.16) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.16) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.16) lib/action_controller/metal/rescue.rb:29:in
process_action' actionpack (3.2.16) lib/action_controller/metal/instrumentation.rb:30:inprocess_action' activesupport (3.2.16) lib/active_support/notifications.rb:123:in
instrument' activesupport (3.2.16) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.16) lib/active_support/notifications.rb:123:in
instrument' actionpack (3.2.16) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.16) lib/action_controller/metal/params_wrapper.rb:207:in
process_action' activerecord (3.2.16) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.16) lib/abstract_controller/base.rb:121:in
process' actionpack (3.2.16) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.16) lib/action_controller/metal.rb:203:in
dispatch' actionpack (3.2.16) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.16) lib/action_controller/metal.rb:246:in
action' actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:73:incall' actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:73:in
dispatch' actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:36:incall' journey (1.0.4) lib/journey/router.rb:68:in
call' journey (1.0.4) lib/journey/router.rb:56:ineach' journey (1.0.4) lib/journey/router.rb:56:in
call' actionpack (3.2.16) lib/action_dispatch/routing/route_set.rb:608:incall' rack-openid (1.4.1) lib/rack/openid.rb:99:in
call' actionpack (3.2.16) lib/action_dispatch/middleware/best_standards_support.rb:17:incall' rack (1.4.5) lib/rack/etag.rb:23:in
call' rack (1.4.5) lib/rack/conditionalget.rb:25:incall' actionpack (3.2.16) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.16) lib/action_dispatch/middleware/params_parser.rb:21:incall' actionpack (3.2.16) lib/action_dispatch/middleware/flash.rb:242:in
call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:incontext' rack (1.4.5) lib/rack/session/abstract/id.rb:205:in
call' actionpack (3.2.16) lib/action_dispatch/middleware/cookies.rb:341:incall' activerecord (3.2.16) lib/active_record/query_cache.rb:64:in
call' activerecord (3.2.16) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall' actionpack (3.2.16) lib/action_dispatch/middleware/callbacks.rb:28:in
call' activesupport (3.2.16) lib/active_support/callbacks.rb:405:in_run__1011366221__call__4__callbacks' activesupport (3.2.16) lib/active_support/callbacks.rb:405:in
send' activesupport (3.2.16) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.16) lib/active_support/callbacks.rb:385:in
_run_call_callbacks' activesupport (3.2.16) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.16) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.16) lib/action_dispatch/middleware/callbacks.rb:27:incall' actionpack (3.2.16) lib/action_dispatch/middleware/remote_ip.rb:31:in
call' actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' railties (3.2.16) lib/rails/rack/logger.rb:32:incall_app' railties (3.2.16) lib/rails/rack/logger.rb:16:in
call' activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:intagged' railties (3.2.16) lib/rails/rack/logger.rb:16:in
call' actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.5) lib/rack/methodoverride.rb:21:in
call' rack (1.4.5) lib/rack/runtime.rb:17:incall' activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in
call' rack (1.4.5) lib/rack/lock.rb:15:incall' actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in
call' rack-cache (1.2) lib/rack/cache/context.rb:136:inforward' rack-cache (1.2) lib/rack/cache/context.rb:245:in
fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:inlookup' rack-cache (1.2) lib/rack/cache/context.rb:66:in
call!' rack-cache (1.2) lib/rack/cache/context.rb:51:incall' railties (3.2.16) lib/rails/engine.rb:484:in
call' railties (3.2.16) lib/rails/application.rb:231:incall' rack (1.4.5) lib/rack/content_length.rb:14:in
call' railties (3.2.16) lib/rails/rack/log_tailer.rb:17:incall' rack (1.4.5) lib/rack/handler/webrick.rb:59:in
service' /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/webrick/httpserver.rb:104:inservice' /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/webrick/httpserver.rb:65:in
run' /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/webrick/server.rb:173:instart_thread' /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/webrick/server.rb:162:in
start' /usr/local/rvm/rubies/ree-1.8.7-2012.02/lib/ruby/1.8/webrick/server.rb:162