app/services/ddr/batch/process_batch_object.rb in ddr-batch-1.2.0.rc4 vs app/services/ddr/batch/process_batch_object.rb in ddr-batch-1.2.0.rc5

- old
+ new

@@ -10,11 +10,9 @@ def execute ActiveSupport::Notifications.instrument("handled.batchobject.batch.ddr", batch_object_id: batch_object_id) do |payload| batch_object = BatchObject.find(batch_object_id) - # Mark batch object as 'handled' - batch_object.update!(handled: true) # Validate batch object errors = batch_object.validate # Process batch object or record validation errors if errors.empty? process(batch_object, operator)