Browse Source

Removed unnecessary info text for already completed import jobs.

Thorsten Eckel 6 years ago
parent
commit
ccbf1d4a71
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lib/import/mixin/sequence.rb

+ 4 - 0
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