Pointing the actual reason for invalidating composition

This commit is contained in:
Elitsa Marinovska
2021-10-14 13:41:56 +02:00
parent ccd9013d30
commit b8ecc17140

View File

@@ -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");
}
}