From 27745ea1412db20dc489a6cd31b98ce8a2fcc70f Mon Sep 17 00:00:00 2001 From: Morten Christensen Date: Fri, 1 Feb 2013 07:35:48 -0100 Subject: [PATCH] Fixes U4-1483 --- src/umbraco.cms/businesslogic/Content.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/umbraco.cms/businesslogic/Content.cs b/src/umbraco.cms/businesslogic/Content.cs index ad9d992d07..9d80511bca 100644 --- a/src/umbraco.cms/businesslogic/Content.cs +++ b/src/umbraco.cms/businesslogic/Content.cs @@ -699,11 +699,13 @@ namespace umbraco.cms.businesslogic continue; //get the propertyId - var property = propData - .Where(x => x.PropertyTypeId == pt.Id) - .SingleOrDefault(); + var property = propData.SingleOrDefault(x => x.PropertyTypeId == pt.Id); if (property == null) - continue; + { + //continue; + var prop = Property.MakeNew(pt, this, Version); + property = new { Id = prop.Id, PropertyTypeId = pt.Id }; + } var propertyId = property.Id; Property p = null;