From 5754ee903bf89a59ce36a9b015099839a3a638eb Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 20 Feb 2022 18:51:46 +0000 Subject: Merged r21422 to 4.2-stable (#35656). git-svn-id: http://svn.redmine.org/redmine/branches/4.2-stable@21424 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue_import.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/issue_import.rb b/app/models/issue_import.rb index 9f6edf903..ccfd663e0 100644 --- a/app/models/issue_import.rb +++ b/app/models/issue_import.rb @@ -286,7 +286,11 @@ class IssueImport < Import relation.delay = decl[:delay] if decl[:delay] - relation.save! + begin + relation.save! + rescue + nil + end end end end -- cgit v1.2.3