From 8020c1f00de26f1766e6c7e908ce4241aed4ea4f Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Wed, 25 Aug 2021 11:16:00 +0200 Subject: [PATCH] Fix duplicate property alias validation --- src/Umbraco.Web/Models/ContentEditing/ContentTypeSave.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Models/ContentEditing/ContentTypeSave.cs b/src/Umbraco.Web/Models/ContentEditing/ContentTypeSave.cs index a6ad07d5b8..c210d4fc16 100644 --- a/src/Umbraco.Web/Models/ContentEditing/ContentTypeSave.cs +++ b/src/Umbraco.Web/Models/ContentEditing/ContentTypeSave.cs @@ -116,7 +116,7 @@ namespace Umbraco.Web.Models.ContentEditing yield return new ValidationResult("Duplicate property aliases not allowed: " + duplicatePropertyAlias.Key, new[] { - $"Groups[{lastPropertyIndex}].Properties[{propertyGroupIndex}].Alias" + $"Groups[{propertyGroupIndex}].Properties[{lastPropertyIndex}].Alias" }); }