From 40bbbf4863d670d147587a7d4a4676dddb1364c9 Mon Sep 17 00:00:00 2001 From: Andrej Date: Wed, 17 Jul 2024 10:24:02 +0200 Subject: [PATCH] Fix cell value validation [SCI-10884] --- app/utilities/repository_import_parser/importer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utilities/repository_import_parser/importer.rb b/app/utilities/repository_import_parser/importer.rb index 5c511a8a9..8e492b03d 100644 --- a/app/utilities/repository_import_parser/importer.rb +++ b/app/utilities/repository_import_parser/importer.rb @@ -245,6 +245,7 @@ module RepositoryImportParser if @preview repository_cell = repository_row.repository_cells.build(value: cell_value, repository_column: cell_value.repository_cell.repository_column) repository_cell.validate + repository_cell.value.validate repository_cell.id = SecureRandom.uuid.gsub(/[a-zA-Z-]/, '') unless cell_value.repository_cell.id.present? # ID required for preview with serializer return repository_cell else