From 22c682c58ba57aaf3e745f55f7fca2491c89c408 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 4 Nov 2022 11:49:05 +0100 Subject: [PATCH] fix protocol import error [SCI-7389] --- app/utilities/protocols_importer_v2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utilities/protocols_importer_v2.rb b/app/utilities/protocols_importer_v2.rb index 1d236b6f3..fefa99724 100644 --- a/app/utilities/protocols_importer_v2.rb +++ b/app/utilities/protocols_importer_v2.rb @@ -21,7 +21,7 @@ class ProtocolsImporterV2 # Try to rename record rename_record(protocol, :name) if protocol.invalid? - + protocol_json['name'] = protocol.name # Okay, now save the protocol protocol.save!