diff --git a/TopModel.Core/ModelStore.cs b/TopModel.Core/ModelStore.cs index 4ac5b66e..c6cbd3f3 100644 --- a/TopModel.Core/ModelStore.cs +++ b/TopModel.Core/ModelStore.cs @@ -1438,6 +1438,11 @@ IEnumerable ResolveAliases(IEnumerable alps) foreach (var uk in uks) { + if (!classe.Values.All(value => uk.All(p => value.Value.ContainsKey(p)))) + { + continue; + } + var ukValues = classe.Values.Select(value => string.Concat(uk.Select(p => value.Value[p]))).ToList(); for (int i = 0; i < classe.Values.Count; i++) {