Project

General

Profile

Actions

Defect #34125

closed

500 error after migration to Redmine 4.1.1

Added by Andrzej Karwowski about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

After upgrading from Redmine 3.4 to v 4.1.1 I have 500 error during the time entry update.

Started GET "/time_entries/new" for ................. at 2020-10-16 11:22:40 +0200
Processing by TimelogController#new as HTML
Current user: .......... (id=5)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 13.2ms)
ActiveModel::MissingAttributeError (can't write unknown attribute `author_id`):
app/models/time_entry.rb:98:in `initialize'
app/controllers/timelog_controller.rb:95:in `new'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'

Environment:
Redmine version 4.1.1.stable.20036
Ruby version 2.6.0-p0 (2018-12-25) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter SQLServer
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
no plugin installed

Actions

Also available in: Atom PDF