RealEnder / redmine_auditlog

Provides full auditlog for user actions in Redmine instance
GNU General Public License v3.0
3 stars 5 forks source link

Following install & login - unknown attribute 'action' for Audited::Audit. #3

Open chrislockwood opened 3 years ago

chrislockwood commented 3 years ago

Environment

Redmine version 4.1.1.stable Ruby version 2.6.6-p146 (2020-03-31) [x64-mingw32] Rails version 5.2.4.2 Environment production Database adapter SQLServer

Log

Successful authentication for 'chris_lockwood' from 127.0.0.1 at 2021-01-16 19:33:05 UTC Completed 500 Internal Server Error in 470ms (ActiveRecord: 209.6ms)

ActiveModel::UnknownAttributeError (unknown attribute 'action' for Audited::Audit.):

app/models/user.rb:435:in generate_session_token' app/controllers/application_controller.rb:88:instart_user_session' app/controllers/application_controller.rb:168:in logged_user=' app/controllers/account_controller.rb:281:insuccessful_authentication' app/controllers/account_controller.rb:227:in password_authentication' app/controllers/account_controller.rb:213:inauthenticate_user' app/controllers/account_controller.rb:40:in login' lib/redmine/sudo_mode.rb:65:insudo_mode'

RealEnder commented 3 years ago

Hi, if you remove the auditlog plugin do you still get this issue?

chrislockwood commented 3 years ago

Hi - Following removal Redmine functions as normal, no errors.