Revert "Revert "Identify element types""

This reverts commit ff6a9ba9
This commit is contained in:
Bjarke Berg
2019-01-15 15:12:59 +01:00
parent 93ba694106
commit 11ffafacdf
19 changed files with 105 additions and 10 deletions

View File

@@ -578,6 +578,10 @@ namespace Umbraco.Core.Services.Implement
if (isListView != null)
contentType.IsContainer = isListView.Value.InvariantEquals("true");
var isElement = infoElement.Element("IsElement");
if (isListView != null)
contentType.IsElement = isElement.Value.InvariantEquals("true");
//Name of the master corresponds to the parent and we need to ensure that the Parent Id is set
var masterElement = infoElement.Element("Master");
if (masterElement != null)