Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with sameersbn/docker-redmine:4.0.3 docker image #56

Open
robsonmantovani opened this issue May 29, 2019 · 1 comment
Open

Problem with sameersbn/docker-redmine:4.0.3 docker image #56

robsonmantovani opened this issue May 29, 2019 · 1 comment

Comments

@robsonmantovani
Copy link

I'm trying use recurring_tasks plugin with sameersbn/docker-redmine:4.0.3 docker image with no success.

When i add a new recurring_task i got this error 500:

POST "/recurring_tasks" for 138.118.128.2 at 2019-05-29 13:12:43 -0300
Processing by RecurringTasksController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"VdqHBEQkkFPmfO0kD/bt5ZUVlDWEDcdNp4bEKkIRdSgC3L9N43Kfa1/brEen/xYNWFUd1Oa/QSHhWgozeW4A3Q==", "issue_id"=>"46459", "recurring_task"=>{"tracker_id"=>"41", "time(1i)"=>"2000", "time(2i)"=>"1", "time(3i)"=>"1", "time(4i)"=>"02", "time(5i)"=>"00", "months"=>["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "client_run_type"=>"week_days", "monday"=>"0", "tuesday"=>"0", "wednesday"=>"0", "thursday"=>"0", "friday"=>"0", "saturday"=>"0", "sunday"=>"0"}, "commit"=>"Adicionar"}
  Current user: robson.mantovani (id=24)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.0ms)

ActiveRecord::MultiparameterAssignmentErrors (1 error(s) on assignment of multiparameter attributes [error on assignment [2000, 1, 1, 2, 0] to time (undefined method `utc' for {1=>2000, 2=>1, 3=>1, 4=>2, 5=>0}:Hash)]):

plugins/redmine_recurring_tasks/app/controllers/recurring_tasks_controller.rb:18:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
@olemskoi
Copy link
Member

olemskoi commented Nov 6, 2019

Did you run migrations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants