redmine_impersonate
redmine_impersonate copied to clipboard
Error on exit: interaction with sudo plugin
Redmine 5.1.0 Debian 12 Postgres 16 PurpleMine2, plugin installs correctly and works correctly but if sudo plugin is installed https://github.com/AlphaNodes/redmine_sudo on exit impersonation mode error is returned
F, [2023-12-02T15:38:02.552605 #22286] FATAL -- :
NoMethodError (undefined method delete' for nil:NilClass): plugins/redmine_impersonate/app/controllers/impersonation_controller.rb:38:in
destroy'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'