Project

General

Profile

Defect #1617

Got 500 Internal error when click 'Calendar' tab of a project.

Added by Leo Ning over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
Calendar
Target version:
Source:
Specification
Detected on version:
Blocked:
No
Alone:
No
Milestones:
Sprint:

Description

1. Redmine version: 5.0.5
2. Docker image: bitnami/redmine:5.0.5
3. Database: MySQL 8.0.26
4. log message:

I, [2023-04-16T03:46:35.021941 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Started GET "/projects/xxxxx/issues/calendar" for 127.0.0.1 at 2023-04-16 03:46:35 +0000
I, [2023-04-16T03:46:35.023748 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Processing by CalendarsController#show as HTML
I, [2023-04-16T03:46:35.023851 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Parameters: {"project_id"=>"xxxxx"}
I, [2023-04-16T03:46:35.033552 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Current user: leoning (id=1)
I, [2023-04-16T03:46:35.133477 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Rendered calendars/show.html.erb within layouts/base (Duration: 52.5ms | Allocations: 11614)
I, [2023-04-16T03:46:35.175021 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Rendered layout layouts/base.html.erb (Duration: 94.1ms | Allocations: 21325)
I, [2023-04-16T03:46:35.175977 #224] INFO -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8] Completed 500 Internal Server Error in 152ms (Views: 89.8ms | ActiveRecord: 13.9ms | Allocations: 32000)
F, [2023-04-16T03:46:35.177192 #224] FATAL -- : [b16608ea-9bc5-43be-9af2-9dda68ecb9d8]
[b16608ea-9bc5-43be-9af2-9dda68ecb9d8] ArgumentError (wrong number of arguments (given 1, expected 3)):
[b16608ea-9bc5-43be-9af2-9dda68ecb9d8]
[b16608ea-9bc5-43be-9af2-9dda68ecb9d8] plugins/scrum/lib/scrum/calendars_controller_patch.rb:19:in `new'
[b16608ea-9bc5-43be-9af2-9dda68ecb9d8] plugins/scrum/lib/scrum/calendars_controller_patch.rb:19:in `add_sprints'
[b16608ea-9bc5-43be-9af2-9dda68ecb9d8] lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Also available in: Atom PDF