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

This commit is contained in:
Shannon
2014-05-09 15:57:17 +10:00
parent b763c2ab2f
commit 3b424274ee

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;
}