fixes merge

This commit is contained in:
Shannon
2019-01-16 02:18:02 +11:00
parent b34582b35c
commit d97b100bab
2 changed files with 4 additions and 4 deletions

View File

@@ -556,6 +556,10 @@ namespace Umbraco.Core.Packaging
if (isListView != null)
contentType.IsContainer = isListView.Value.InvariantEquals("true");
var isElement = infoElement.Element("IsElement");
if (isElement != 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)