From ccbf1d4a7123a3f0666e12df66b184d217b1e36f Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 8 May 2018 17:27:19 +0200 Subject: [PATCH] Removed unnecessary info text for already completed import jobs. --- lib/import/mixin/sequence.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/import/mixin/sequence.rb b/lib/import/mixin/sequence.rb index 262933e44..78bee5f4e 100644 --- a/lib/import/mixin/sequence.rb +++ b/lib/import/mixin/sequence.rb @@ -8,6 +8,10 @@ module Import end def process + # remove previous result information that may still be saved + # in case an import job was rescheduled + @import_job.update!(result: {}) + Sequencer.process(sequence_name, parameters: { import_job: @import_job