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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user