Fixes: U4-4695 Copy document type to new parent seems to lose some data, U4-4535 Create Copy method on the content type Service

This commit is contained in:
Shannon
2014-04-22 17:48:08 +10:00
parent f673cb024a
commit d772336c0f
11 changed files with 316 additions and 56 deletions

View File

@@ -1147,7 +1147,7 @@ namespace Umbraco.Core.Services
{
using (new WriteLock(Locker))
{
var copy = ((Content)content).Clone();
var copy = content.DeepCloneWithResetIdentities();
copy.ParentId = parentId;
// A copy should never be set to published automatically even if the original was.