ensure properties reset on deep clone of ContentType (this is just a fail safe check)

This commit is contained in:
Shannon
2014-05-09 13:26:50 +10:00
parent 9d96a4411f
commit b02f7e0d3a

View File

@@ -151,6 +151,9 @@ namespace Umbraco.Core.Models
clone.PropertyTypes = PropertyTypeCollection
.Where(x => x.PropertyGroupId == null)
.Select(x => (PropertyType)x.DeepClone()).ToList();
clone.ResetDirtyProperties(false);
return clone;
}