From c8158d971a73d6fae6d8c937ae39357e85739079 Mon Sep 17 00:00:00 2001 From: Fritz Freiheit Date: Wed, 26 Sep 2018 08:50:22 -0400 Subject: [PATCH] DBD-1088 - Update import/export and other scripts 6 --- app/services/deepblue/yaml_populate_service.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/services/deepblue/yaml_populate_service.rb b/app/services/deepblue/yaml_populate_service.rb index 16c12017..586a77fb 100644 --- a/app/services/deepblue/yaml_populate_service.rb +++ b/app/services/deepblue/yaml_populate_service.rb @@ -151,7 +151,8 @@ def yaml_escape_value( value, comment: false, escape: false ) def yaml_export_file_path( target_dirname:, file_set: ) file = MetadataHelper2.file_from_file_set( file_set ) - export_file_name = file.original_name + export_file_name = "" + export_file_name = file&.original_name target_dirname.join "#{file_set.id}_#{export_file_name}" end