Project

General

Profile

Defect #1502

redmine work time plugin fails

Added by Gonzalo Valdez 12 months ago. Updated 8 months ago.

Status:
解決(Resolved)
Priority:
通常(Normal)
Target version:
Start date:
06/20/2019
Due date:
% Done:

100%

Estimated time:

Description

I installed the plugin in redmine 4.0.3.stable

Environment:
Redmine version 4.0.3.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]
Rails version 5.2.2.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.11.1
Cvs 1.12.13
Git 2.19.1
Filesystem
Redmine plugins:
easy_gantt 1.12
periodictask 4.1.0
redmine_agile 1.4.12
redmine_work_time 0.4.0

When i tried to update the hours of a project I got
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.

If you are the Redmine administrator, check your log files for details about the error.

And the production.log shows

ActionController::UnfilteredParameters (unable to convert unpermitted parameters to hash):

plugins/redmine_work_time/app/controllers/work_time_controller.rb:768:in `block (2 levels) in hour_update'
plugins/redmine_work_time/app/controllers/work_time_controller.rb:766:in `block in hour_update'
plugins/redmine_work_time/app/controllers/work_time_controller.rb:762:in `hour_update'
plugins/redmine_work_time/app/controllers/work_time_controller.rb:19:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Is there a patch or a work around?

Thanks in advance


Files

ScreenShot_2019-09-27_10.15.46.png (326 KB) ScreenShot_2019-09-27_10.15.46.png Yuichi HARADA, 09/27/2019 11:27 AM

Related issues

Has duplicate r-labs - Defect #1501: redmine work time plugin fails終了(Closed)06/20/2019

Actions

Also available in: Atom PDF