Merge remote-tracking branch 'origin/netcore/dev' into netcore/task/6973-migrating-authenticationcontroller-merge
# Conflicts: # src/Umbraco.Examine.Lucene/UmbracoContentIndex.cs # src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MediaServiceTests.cs # src/Umbraco.Tests/Services/MemberServiceTests.cs # src/Umbraco.Web.BackOffice/Controllers/PreviewController.cs # src/Umbraco.Web.BackOffice/Services/IconService.cs # src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Preview.cshtml # src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml # src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml # src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml # src/Umbraco.Web.UI/config/umbracoSettings.config
This commit is contained in:
@@ -615,6 +615,8 @@ namespace Umbraco.Core.Packaging
|
||||
var defaultTemplateElement = infoElement.Element("DefaultTemplate");
|
||||
|
||||
contentType.Name = infoElement.Element("Name").Value;
|
||||
if (infoElement.Element("Key") != null)
|
||||
contentType.Key = new Guid(infoElement.Element("Key").Value);
|
||||
contentType.Icon = infoElement.Element("Icon").Value;
|
||||
contentType.Thumbnail = infoElement.Element("Thumbnail").Value;
|
||||
contentType.Description = infoElement.Element("Description").Value;
|
||||
@@ -811,6 +813,8 @@ namespace Umbraco.Core.Packaging
|
||||
? (ContentVariation)Enum.Parse(typeof(ContentVariation), property.Element("Variations").Value)
|
||||
: ContentVariation.Nothing
|
||||
};
|
||||
if (property.Element("Key") != null)
|
||||
propertyType.Key = new Guid(property.Element("Key").Value);
|
||||
|
||||
var tab = (string)property.Element("Tab");
|
||||
if (string.IsNullOrEmpty(tab))
|
||||
|
||||
Reference in New Issue
Block a user