diff --git a/app/services/experiments/move_to_project_service.rb b/app/services/experiments/move_to_project_service.rb index 088bbc7b0..19c68f8fc 100644 --- a/app/services/experiments/move_to_project_service.rb +++ b/app/services/experiments/move_to_project_service.rb @@ -29,6 +29,8 @@ module Experiments end raise ActiveRecord::Rollback unless @exp.save + # To pass the ExperimentsController#updated_img check + @exp.update(workflowimg_updated_at: @exp.updated_at) end @errors.merge!(@exp.errors.to_hash) unless @exp.valid?