diff --git a/KVA/Migration.Tool.Source/Handlers/MigrateCustomTablesHandler.cs b/KVA/Migration.Tool.Source/Handlers/MigrateCustomTablesHandler.cs index f4ffeb02..e5f2f303 100644 --- a/KVA/Migration.Tool.Source/Handlers/MigrateCustomTablesHandler.cs +++ b/KVA/Migration.Tool.Source/Handlers/MigrateCustomTablesHandler.cs @@ -192,15 +192,15 @@ private async Task MigrateCustomTables() continue; } - var ctis = modelFacade.SelectAllAsDictionary(cmsClass.ClassTableName); - foreach (var cti in ctis) + var customTableItems = modelFacade.SelectAllAsDictionary(cmsClass.ClassTableName); + foreach (var customTableItem in customTableItems) { var results = mapper.Map(new CustomTableMapperSource( targetDataClass.ClassFormDefinition, cmsClass.ClassFormDefinition, - cti.TryGetValue("ItemGUID", out object? itemGuid) && itemGuid is Guid guid ? guid : Guid.NewGuid(), // TODO tomas.krch: 2024-12-03 provide guid? + customTableItem.TryGetValue("ItemGUID", out object? itemGuid) && itemGuid is Guid guid ? guid : Guid.NewGuid(), // TODO tomas.krch: 2024-12-03 provide guid? cmsClass, - cti, + customTableItem, mapping )); try