From b8ecc17140f93e9b528445609a5ea185b87e30ca Mon Sep 17 00:00:00 2001 From: Elitsa Marinovska Date: Thu, 14 Oct 2021 13:41:56 +0200 Subject: [PATCH] Pointing the actual reason for invalidating composition --- src/Umbraco.Web/Editors/ContentTypeControllerBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Editors/ContentTypeControllerBase.cs b/src/Umbraco.Web/Editors/ContentTypeControllerBase.cs index e4a5b2e417..60e10313ca 100644 --- a/src/Umbraco.Web/Editors/ContentTypeControllerBase.cs +++ b/src/Umbraco.Web/Editors/ContentTypeControllerBase.cs @@ -499,7 +499,7 @@ namespace Umbraco.Web.Editors var group = contentTypeSave.Groups.Single(x => x.Alias == propertyGroupAlias); var groupIndex = contentTypeSave.Groups.IndexOf(group); var key = $"Groups[{groupIndex}].Name"; - ModelState.AddModelError(key, "Duplicate property group aliases are not allowed between compositions"); + ModelState.AddModelError(key, "Same alias for tab and group is not allowed between compositions"); } }