From dc0906b4b3e2f132f826c05e940adf9a044397fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Thu, 1 Jun 2023 13:38:49 +0200 Subject: [PATCH] Lost attachment on bulk edit #1449 --- lib/redmine_dmsf/hooks/controllers/issues_controller_hooks.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redmine_dmsf/hooks/controllers/issues_controller_hooks.rb b/lib/redmine_dmsf/hooks/controllers/issues_controller_hooks.rb index 53936a0e..6b31fbbc 100644 --- a/lib/redmine_dmsf/hooks/controllers/issues_controller_hooks.rb +++ b/lib/redmine_dmsf/hooks/controllers/issues_controller_hooks.rb @@ -53,6 +53,8 @@ module RedmineDmsf def controller_issues_bulk_edit_before_save(context = {}) controller_issues_before_save context + # Call also the after safe hook, 'cause it's missing in Redmine + controller_issues_after_save(context, edit: true) unless defined?(EasyExtensions) end # Unfortunately this hook is missing in Redmine. It's called in Easy Redmine only.